Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(USE_GETTEXT "Enable interantionalization" OFF)

add_compile_options(-Wall -pedantic -Wextra)
add_compile_options(-Werror=unused-label)
add_compile_options(-Werror=unused-parameter)

set(SOURCES
colors.c
Expand Down
3 changes: 3 additions & 0 deletions nc.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,9 @@ void show_stats_t(int y, int x, char *header, stats_t *data, char abbreviate)

void update_stats(stats_t *resolve, stats_t *connect, stats_t *request, stats_t *total, stats_t *ssl_setup, int n_ok, int n_fail, const char *last_connect_str, const char *fp, char use_tfo, char dg, stats_t *st_to, stats_t *tcp_rtt_stats, int re_tx, int pmtu, int tos, stats_t *close_st, stats_t *t_write, int n_cookies, char abbreviate, stats_t *stats_header_size)
{
(void)tcp_rtt_stats;
(void)re_tx;
(void)pmtu;
char force_redraw = 0;
struct pollfd p = { 0, POLLIN, 0 };

Expand Down
Loading