Skip to content

Commit

Permalink
Fix up clang-formatting a bit
Browse files Browse the repository at this point in the history
Move some characters around to optimize clang-format output.
  • Loading branch information
bbarenblat committed Aug 8, 2023
1 parent 273936f commit 6649b8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/frontend/stmclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,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" ) ) {
Expand Down
6 changes: 2 additions & 4 deletions src/util/select.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,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 );
Expand Down

0 comments on commit 6649b8d

Please sign in to comment.