diff --git a/src/app/fdctl/monitor/helper.c b/src/app/fdctl/monitor/helper.c index 3a2375eabd..2fb6fc60ef 100644 --- a/src/app/fdctl/monitor/helper.c +++ b/src/app/fdctl/monitor/helper.c @@ -55,10 +55,10 @@ printf_heart( char ** buf, char const * sig_color( ulong sig ) { switch( sig ) { - case FD_CNC_SIGNAL_BOOT: return TEXT_BLUE; break; /* Blue -> waiting for tile to start */ - case FD_CNC_SIGNAL_HALT: return TEXT_YELLOW; break; /* Yellow -> waiting for tile to process */ - case FD_CNC_SIGNAL_RUN: return TEXT_GREEN; break; /* Green -> Normal */ - case FD_CNC_SIGNAL_FAIL: return TEXT_RED; break; /* Red -> Definitely abnormal */ + case FD_CNC_SIGNAL_BOOT: return TEXT_BLUE; /* Blue -> waiting for tile to start */ + case FD_CNC_SIGNAL_HALT: return TEXT_YELLOW; /* Yellow -> waiting for tile to process */ + case FD_CNC_SIGNAL_RUN: return TEXT_GREEN; /* Green -> Normal */ + case FD_CNC_SIGNAL_FAIL: return TEXT_RED; /* Red -> Definitely abnormal */ default: break; /* Unknown, don't colorize */ } return TEXT_NORMAL; diff --git a/src/ballet/http/fd_http_server.c b/src/ballet/http/fd_http_server.c index fa85df1fc9..a9797ea68c 100644 --- a/src/ballet/http/fd_http_server.c +++ b/src/ballet/http/fd_http_server.c @@ -664,7 +664,6 @@ read_conn_ws( fd_http_server_t * http, len_bytes = 9UL; } else { FD_LOG_ERR(( "unexpected payload_len %lu", payload_len )); /* Silence clang sanitizer, not possible */ - return; } ulong header_len = 1UL+len_bytes+4UL; @@ -883,8 +882,7 @@ write_conn_http( fd_http_server_t * http, } break; default: - FD_LOG_ERR(( "invalid server state" )); - return; + FD_LOG_ERR(( "invalid server state (%d)", conn->state )); } long sz = send( http->pollfds[ conn_idx ].fd, response+conn->response_bytes_written, response_len-conn->response_bytes_written, MSG_NOSIGNAL ); diff --git a/src/waltz/ip/test_netlink.c b/src/waltz/ip/test_netlink.c index eacc51ee3a..9ca0e3b6eb 100644 --- a/src/waltz/ip/test_netlink.c +++ b/src/waltz/ip/test_netlink.c @@ -147,7 +147,6 @@ main( int argc, char **argv ) { if( fd_nl_init( nl, 1234U ) ) { FD_LOG_ERR(( "Unable to initialize netlink fd_nl_init" )); - exit(1); } #define ROUTE_TABLE_CAP 32