From ac5ec35a6e222f635912f6a7eaf3c036c71367b6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:02 +0200 Subject: 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. --- src/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/volume.c') diff --git a/src/volume.c b/src/volume.c index 0da7d0360..791c1ea02 100644 --- a/src/volume.c +++ b/src/volume.c @@ -468,7 +468,7 @@ int getVolumeLevel(void) } } -static int changeSoftwareVolume(int fd, int change, int rel) +static int changeSoftwareVolume(mpd_unused int fd, int change, int rel) { int new = change; -- cgit v1.2.3