mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Suppress warnings about unused parameters
This commit is contained in:
parent
50972aaafe
commit
f042e6dfad
@ -17,6 +17,10 @@
|
|||||||
|
|
||||||
void thread_locking_callback(int mode, int n, const char* file, int line)
|
void thread_locking_callback(int mode, int n, const char* file, int line)
|
||||||
{
|
{
|
||||||
|
// suppress -Wunused-parameter messages by casting these variables to void
|
||||||
|
(void) file;
|
||||||
|
(void) line;
|
||||||
|
|
||||||
if(mode & CRYPTO_LOCK)
|
if(mode & CRYPTO_LOCK)
|
||||||
ssl_mutex_array[n].lock();
|
ssl_mutex_array[n].lock();
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user