From 2c3a8e24ec76c1db37ca6576e4685e805f74929d Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Fri, 9 Nov 2012 14:08:18 -0800 Subject: Add -Wall to Makefile and fix warnings --- pcm.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'pcm.c') diff --git a/pcm.c b/pcm.c index 00befe3..8ee59a1 100644 --- a/pcm.c +++ b/pcm.c @@ -93,14 +93,6 @@ static void param_set_min(struct snd_pcm_hw_params *p, int n, unsigned int val) } } -static void param_set_max(struct snd_pcm_hw_params *p, int n, unsigned int val) -{ - if (param_is_interval(n)) { - struct snd_interval *i = param_to_interval(p, n); - i->max = val; - } -} - static void param_set_int(struct snd_pcm_hw_params *p, int n, unsigned int val) { if (param_is_interval(n)) { -- cgit v1.2.3