From f4ccdc321804354282a5eb3346ea08e794b7e9be Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 7 Aug 2023 21:27:55 -0400 Subject: [PATCH] Fix up clang-format a bit Move some characters around to optimize clang-format output. --- src/frontend/stmclient.h | 6 +++--- src/util/select.h | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/frontend/stmclient.h b/src/frontend/stmclient.h index c39935b3e..0894261a5 100644 --- a/src/frontend/stmclient.h +++ b/src/frontend/stmclient.h @@ -97,9 +97,9 @@ class STMClient : ip( s_ip ? s_ip : "" ), port( s_port ? s_port : "" ), key( s_key ? s_key : "" ), escape_key( 0x1E ), escape_pass_key( '^' ), escape_pass_key2( '^' ), escape_requires_lf( false ), escape_key_help( L"?" ), saved_termios(), raw_termios(), window_size(), local_framebuffer( 1, 1 ), new_state( 1, 1 ), overlays(), - network(), display( true ), /* use TERM environment var to initialize display */ - connecting_notification(), repaint_requested( false ), lf_entered( false ), quit_sequence_started( false ), - clean_shutdown( false ), verbose( s_verbose ) + network(), display( true ) /* use TERM environment var to initialize display */, connecting_notification(), + repaint_requested( false ), lf_entered( false ), quit_sequence_started( false ), clean_shutdown( false ), + verbose( s_verbose ) { if ( predict_mode ) { if ( !strcmp( predict_mode, "always" ) ) { diff --git a/src/util/select.h b/src/util/select.h index 11a586f2c..21039d8cd 100644 --- a/src/util/select.h +++ b/src/util/select.h @@ -59,10 +59,8 @@ class Select private: Select() - : max_fd( -1 ) - /* These initializations are not used; they are just - here to appease -Weffc++. */ - , + : max_fd( -1 ), + /* These initializations are not used; they are just here to appease -Weffc++. */ all_fds( dummy_fd_set ), read_fds( dummy_fd_set ), empty_sigset( dummy_sigset ), consecutive_polls( 0 ) { FD_ZERO( &all_fds );