Skip to content

Commit

Permalink
Fix warnings (unused arguments, undeclared function) (coturn#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
eakraly authored Oct 30, 2022
1 parent c4f670f commit 4995b64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apps/relay/dbdrivers/dbd_redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,9 @@ const turn_dbdriver_t * get_redis_dbdriver(void) {
}

redis_context_handle get_redis_async_connection(struct event_base *base, redis_stats_db_t* connection_string, int delete_keys) {
UNUSED_ARG(base);
UNUSED_ARG(connection_string);
UNUSED_ARG(delete_keys);
return NULL;
}
#endif /* !defined(TURN_NO_HIREDIS) */
1 change: 1 addition & 0 deletions src/apps/relay/mainrelay.c
Original file line number Diff line number Diff line change
Expand Up @@ -3190,6 +3190,7 @@ static int THREAD_setup(void) {
return 1;
}

int THREAD_cleanup(void);
int THREAD_cleanup(void){
return 1;
}
Expand Down

0 comments on commit 4995b64

Please sign in to comment.