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

ib subversion at mplayerhq.hu
Tue Feb 25 18:47:05 CET 2014


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
+
     if (strstr(pathname, "://"))
     {
         mp_msg(MSGT_GPLAYER, MSGL_V, "[GUI] Adding special %s\n", pathname);

Modified: trunk/gui/win32/playlist.c
==============================================================================
--- trunk/gui/win32/playlist.c	Tue Feb 25 18:38:54 2014	(r36943)
+++ trunk/gui/win32/playlist.c	Tue Feb 25 18:47:05 2014	(r36944)
@@ -115,7 +115,7 @@ static void movedown_track(playlist_t *p
     playlist->tracks[number - 1] = tmp;
 }
 
-static void sort_playlist(playlist_t *playlist, int opt) {}
+static void sort_playlist(/*playlist_t *playlist, int opt*/) {}
 
 static void clear_playlist(playlist_t *playlist)
 {

Modified: trunk/gui/win32/playlist.h
==============================================================================
--- trunk/gui/win32/playlist.h	Tue Feb 25 18:38:54 2014	(r36943)
+++ trunk/gui/win32/playlist.h	Tue Feb 25 18:47:05 2014	(r36944)
@@ -43,7 +43,7 @@ struct playlist_t
     void (*moveup_track)(playlist_t* playlist, int number);
     void (*movedown_track)(playlist_t* playlist, int number);
     void (*dump_playlist)(playlist_t* playlist);
-    void (*sort_playlist)(playlist_t* playlist, int opt);
+    void (*sort_playlist)(/*playlist_t* playlist, int opt*/);
     void (*clear_playlist)(playlist_t* playlist);
     void (*free_playlist)(playlist_t* playlist);
 };


More information about the MPlayer-cvslog mailing list