aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:02 +0200
committerEric Wong <normalperson@yhbt.net>2008-08-30 17:38:50 -0700
commitac5ec35a6e222f635912f6a7eaf3c036c71367b6 (patch)
treecb6d1ec7b4b5d165b61da5b27e717c52b1b3f5c6 /src/playlist.c
parent2147b207c03891bd657043766444006dce513a93 (diff)
downloadmpd-ac5ec35a6e222f635912f6a7eaf3c036c71367b6.tar.gz
mpd-ac5ec35a6e222f635912f6a7eaf3c036c71367b6.tar.xz
mpd-ac5ec35a6e222f635912f6a7eaf3c036c71367b6.zip
enable -Wpointer-arith, -Wstrict-prototypes
Also enable -Wunused-parameter - this forces us to add the gcc "unused" attribute to a lot of parameters (mostly library callback functions), but it's worth it during code refactorizations.
Diffstat (limited to 'src/playlist.c')
-rw-r--r--src/playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 9751eda76..39e806670 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -1261,7 +1261,7 @@ int previousSongInPlaylist(int fd)
return play_order_num(fd, prev_order_num, 0);
}
-int shufflePlaylist(int fd)
+int shufflePlaylist(mpd_unused int fd)
{
int i;
int ri;