diff --git a/ot_clean.c b/ot_clean.c index cfb6bcf..6024c08 100644 --- a/ot_clean.c +++ b/ot_clean.c @@ -100,7 +100,7 @@ int clean_single_torrent( ot_torrent *torrent ) { /* Clean up all peers in current bucket, remove timedout pools and torrents */ static void * clean_worker( void * args ) { - args=args; + (void) args; while( 1 ) { int bucket = OT_BUCKET_COUNT; 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 ) { int iovec_entries; struct iovec *iovector; - args = args; + (void) args; while( 1 ) { ot_tasktype tasktype = TASK_FULLSCRAPE; 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 ) { } size_t return_stats_for_tracker( char *reply, int mode, int format ) { - format = format; + (void) format; switch( mode & TASK_TASK_MASK ) { case TASK_STATS_CONNS: return stats_connections_mrtg( reply ); @@ -725,7 +725,7 @@ static void * stats_worker( void * args ) { int iovec_entries; struct iovec *iovector; - args = args; + (void) args; while( 1 ) { ot_tasktype tasktype = TASK_STATS;