mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-01 21:42: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)
|
||||
{
|
||||
// suppress -Wunused-parameter messages by casting these variables to void
|
||||
(void) file;
|
||||
(void) line;
|
||||
|
||||
if(mode & CRYPTO_LOCK)
|
||||
ssl_mutex_array[n].lock();
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user