[MPlayer-cvslog] r36944 - in trunk/gui/win32: interface.c playlist.c playlist.h

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Feb 25 19:01:27 CET 2014


On Tue, Feb 25, 2014 at 06:47:05PM +0100, ib wrote:
> Author: ib
> Date: Tue Feb 25 18:47:05 2014
> New Revision: 36944
> 
> Log:
> Silence Win32 GUI's "warning: unused parameter".
> 
> Modified:
>    trunk/gui/win32/interface.c
>    trunk/gui/win32/playlist.c
>    trunk/gui/win32/playlist.h
> 
> Modified: trunk/gui/win32/interface.c
> ==============================================================================
> --- trunk/gui/win32/interface.c	Tue Feb 25 18:38:54 2014	(r36943)
> +++ trunk/gui/win32/interface.c	Tue Feb 25 18:47:05 2014	(r36944)
> @@ -501,6 +501,8 @@ static unsigned __stdcall GuiThread(void
>  {
>      MSG msg;
>  
> +    (void) param;
> +
>      if(!skinName) skinName = strdup("Blue");
>      if(!mygui) mygui = create_gui(get_path("skins"), guiSetEvent);
>      if(!mygui) exit_player(EXIT_ERROR);
> @@ -817,6 +819,8 @@ static int import_file_into_gui(char *pa
>      char file[MAX_PATH];
>      char *filepart = file;
>  
> +    (void) insert;   // NOTE TO MYSELF: this isn't yet implemented
> +

This is a bit ugly and might not work in all compilers.
I think using av_unused on the parameter would be nicer, it's
also easier to reliably grep for and review.


More information about the MPlayer-cvslog mailing list