summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@google.com>2023-08-07 21:40:33 -0400
committerAlex Chernyakhovsky <achernya@mit.edu>2023-08-07 22:03:00 -0400
commit05c7aceb1e96b9db6f9cf65a3367a98c8983443e (patch)
tree2e994802fab85feadba7f5c4f4f5ed8e1a053f3c
parent3acaa1c4d378e78497c218134b980442b60f3c6c (diff)
Fix up clang-formatting a bit
Move some characters around to optimize clang-format output.
-rw-r--r--src/frontend/stmclient.h6
-rw-r--r--src/util/select.h6
2 files changed, 5 insertions, 7 deletions
diff --git a/src/frontend/stmclient.h b/src/frontend/stmclient.h
index 91598f4..4d19225 100644
--- a/src/frontend/stmclient.h
+++ b/src/frontend/stmclient.h
@@ -98,9 +98,9 @@ public:
: 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 dc1817b..82022e5 100644
--- a/src/util/select.h
+++ b/src/util/select.h
@@ -60,10 +60,8 @@ public:
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 );