changeset 36848:92e53547406d

Silence Win32 GUI's "warning: unused parameter".
author ib
date Tue, 25 Feb 2014 17:47:05 +0000
parents 85fe1bbe2d53
children 0177bb090db2
files gui/win32/interface.c gui/win32/playlist.c gui/win32/playlist.h
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/interface.c	Tue Feb 25 17:38:54 2014 +0000
+++ b/gui/win32/interface.c	Tue Feb 25 17:47:05 2014 +0000
@@ -501,6 +501,8 @@
 {
     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 @@
     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);
--- a/gui/win32/playlist.c	Tue Feb 25 17:38:54 2014 +0000
+++ b/gui/win32/playlist.c	Tue Feb 25 17:47:05 2014 +0000
@@ -115,7 +115,7 @@
     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)
 {
--- a/gui/win32/playlist.h	Tue Feb 25 17:38:54 2014 +0000
+++ b/gui/win32/playlist.h	Tue Feb 25 17:47:05 2014 +0000
@@ -43,7 +43,7 @@
     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);
 };