diff --git a/src/sbbs3/ssl.c b/src/sbbs3/ssl.c index 3128b2d067cddae908b4e7623689ac8c955df2e1..30d4a94944c52955cc0ffda10bcae3f9d1431e60 100644 --- a/src/sbbs3/ssl.c +++ b/src/sbbs3/ssl.c @@ -274,8 +274,8 @@ static void internal_do_cryptInit(void) else { cryptInit_error = ret; } - rwlock_init(&cert_epoch_lock); - rwlock_init(&tls_cert_file_date_lock); + (void)rwlock_init(&cert_epoch_lock); + (void)rwlock_init(&tls_cert_file_date_lock); pthread_mutex_init(&ssl_cert_list_mutex, NULL); pthread_mutex_init(&ssl_sess_list_mutex, NULL); pthread_mutex_init(&get_ssl_cert_mutex, NULL);