From a383f4511734b978020b1f8b4360ef9ad438e929 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 5b720651a..903e4717a 100644 --- a/src/volume.c +++ b/src/volume.c @@ -469,7 +469,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