From: Takashi Iwai Date: Fri, 27 May 2005 09:25:16 +0000 (+0000) Subject: Fix compile without debug option X-Git-Tag: v1.0.9~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=98ecc868ec75d87b512430d4f4abe710c83a9860;p=alsa-lib.git Fix compile without debug option Fixed the compile error (missing function) without debug option. --- diff --git a/src/pcm/pcm_params.c b/src/pcm/pcm_params.c index 9225e8d8..b9ae6390 100644 --- a/src/pcm/pcm_params.c +++ b/src/pcm/pcm_params.c @@ -55,6 +55,11 @@ static void dump_hw_params(snd_pcm_hw_params_t *params, const char *type, snd_pcm_hw_params_dump(params, out); snd_output_close(out); } +#else +static inline void dump_hw_params(snd_pcm_hw_params_t *params, const char *type, + snd_pcm_hw_param_t var, unsigned int val, int err) +{ +} #endif static inline int hw_is_mask(snd_pcm_hw_param_t var)