Skip to content
Snippets Groups Projects
Commit df9a4771 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix GCC warnings

warning: value computed is not used
parent c07616e7
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
...@@ -274,8 +274,8 @@ static void internal_do_cryptInit(void) ...@@ -274,8 +274,8 @@ static void internal_do_cryptInit(void)
else { else {
cryptInit_error = ret; cryptInit_error = ret;
} }
rwlock_init(&cert_epoch_lock); (void)rwlock_init(&cert_epoch_lock);
rwlock_init(&tls_cert_file_date_lock); (void)rwlock_init(&tls_cert_file_date_lock);
pthread_mutex_init(&ssl_cert_list_mutex, NULL); pthread_mutex_init(&ssl_cert_list_mutex, NULL);
pthread_mutex_init(&ssl_sess_list_mutex, NULL); pthread_mutex_init(&ssl_sess_list_mutex, NULL);
pthread_mutex_init(&get_ssl_cert_mutex, NULL); pthread_mutex_init(&get_ssl_cert_mutex, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment