Skip to content

Commit 79996f8

Browse files
committed
[ssh] Formatted [[nodiscard]]
1 parent 86f9cf7 commit 79996f8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/platform/console/unix_console.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ mp::UnixConsole::UnixConsole(ssh_channel channel, UnixTerminal* term) : term{ter
7575
term_type = (term_type == nullptr) ? "xterm" : term_type;
7676

7777
update_local_pty_size(term->cout_fd());
78-
7978
ssh_channel_request_pty_size(channel, term_type, local_pty_size.columns, local_pty_size.rows);
8079

8180
// set stdin to Raw Mode after libssh inherits sane settings from stdin.

src/sshfs_mount/sshfs_mount.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ class SshfsMount
3838

3939
void stop();
4040

41-
[[nodiscard]]
42-
bool alive() const;
41+
[[nodiscard]] bool alive() const;
4342

4443
private:
4544
std::atomic<bool> running;

0 commit comments

Comments
 (0)