[vlc-devel] [PATCH] winvlc: silence unused warnings
Alexandre Janniaux
ajanni at videolabs.io
Fri Mar 27 12:04:33 CET 2020
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.26.0
More information about the vlc-devel
mailing list