summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authordenis <>2011-11-16 00:41:16 +0000
committerdenis <>2011-11-16 00:41:16 +0000
commit1968f47d7429afbbf1b84795c8d0284c93aa5061 (patch)
tree291df8ee4a1702ce6227be95d3d9bf7d64f8fd5f /ot_stats.c
parent85df3dbc016578481bf6c7e532e40c657a0b9b50 (diff)
silenced some clang warnings
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 064f364..ba08bbc 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -566,7 +566,7 @@ size_t stats_return_tracker_version( char *reply ) {
566} 566}
567 567
568size_t return_stats_for_tracker( char *reply, int mode, int format ) { 568size_t return_stats_for_tracker( char *reply, int mode, int format ) {
569 format = format; 569 (void) format;
570 switch( mode & TASK_TASK_MASK ) { 570 switch( mode & TASK_TASK_MASK ) {
571 case TASK_STATS_CONNS: 571 case TASK_STATS_CONNS:
572 return stats_connections_mrtg( reply ); 572 return stats_connections_mrtg( reply );
@@ -725,7 +725,7 @@ static void * stats_worker( void * args ) {
725 int iovec_entries; 725 int iovec_entries;
726 struct iovec *iovector; 726 struct iovec *iovector;
727 727
728 args = args; 728 (void) args;
729 729
730 while( 1 ) { 730 while( 1 ) {
731 ot_tasktype tasktype = TASK_STATS; 731 ot_tasktype tasktype = TASK_STATS;