Fix warnings (unused arguments, undeclared function) (#1057)

This commit is contained in:
Pavel Punsky 2022-10-29 20:13:55 -07:00 committed by GitHub
parent c4f670fa24
commit 4995b64453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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) */

View File

@ -3190,6 +3190,7 @@ static int THREAD_setup(void) {
return 1;
}
int THREAD_cleanup(void);
int THREAD_cleanup(void){
return 1;
}