diff options
-rw-r--r-- | ot_clean.c | 2 | ||||
-rw-r--r-- | ot_fullscrape.c | 2 | ||||
-rw-r--r-- | ot_stats.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -100,7 +100,7 @@ int clean_single_torrent( ot_torrent *torrent ) { | |||
100 | /* Clean up all peers in current bucket, remove timedout pools and | 100 | /* Clean up all peers in current bucket, remove timedout pools and |
101 | torrents */ | 101 | torrents */ |
102 | static void * clean_worker( void * args ) { | 102 | static void * clean_worker( void * args ) { |
103 | args=args; | 103 | (void) args; |
104 | while( 1 ) { | 104 | while( 1 ) { |
105 | int bucket = OT_BUCKET_COUNT; | 105 | int bucket = OT_BUCKET_COUNT; |
106 | while( bucket-- ) { | 106 | while( bucket-- ) { |
diff --git a/ot_fullscrape.c b/ot_fullscrape.c index 46ce8f8..583f847 100644 --- a/ot_fullscrape.c +++ b/ot_fullscrape.c | |||
@@ -57,7 +57,7 @@ static void * fullscrape_worker( void * args ) { | |||
57 | int iovec_entries; | 57 | int iovec_entries; |
58 | struct iovec *iovector; | 58 | struct iovec *iovector; |
59 | 59 | ||
60 | args = args; | 60 | (void) args; |
61 | 61 | ||
62 | while( 1 ) { | 62 | while( 1 ) { |
63 | ot_tasktype tasktype = TASK_FULLSCRAPE; | 63 | ot_tasktype tasktype = TASK_FULLSCRAPE; |
@@ -566,7 +566,7 @@ size_t stats_return_tracker_version( char *reply ) { | |||
566 | } | 566 | } |
567 | 567 | ||
568 | size_t return_stats_for_tracker( char *reply, int mode, int format ) { | 568 | size_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; |