[vlc-devel] [PATCH] winvlc: silence unused warnings

Jean-Baptiste Kempf jb at videolan.org
Fri Mar 27 12:05:29 CET 2020


LGTM

On Fri, Mar 27, 2020, at 12:04, Alexandre Janniaux wrote:
> 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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list