From 81c60915f764b638bb3b18a08abe9b955ab9df01 Mon Sep 17 00:00:00 2001 From: Alexandre Janniaux Date: Fri, 27 Mar 2020 12:04:33 +0100 Subject: [PATCH] winvlc: silence unused warnings If breakpad is not used, the crash_handling variable is not used too, but as it's used otherwise this should be silenced. --- bin/winvlc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/winvlc.c b/bin/winvlc.c index 10fea9d0f2..81fed36205 100644 --- a/bin/winvlc.c +++ b/bin/winvlc.c @@ -218,6 +218,8 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, CheckCrashDump( &path[0] ); eh = InstallCrashHandler( &path[0] ); } +#else + (void)crash_handling; #endif _setmode( _fileno( stdin ), _O_BINARY ); /* Needed for pipes */ -- 2.11.4.GIT