From 69dda2f660fb60254ebad17fe83eed2f1913995d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 10 Apr 2006 18:31:39 +0200 Subject: [PATCH] Fix compilation with assert() Fix the position of assert() after the variable declarations. --- src/pcm/pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index c78606bd..2358108b 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -7269,10 +7269,10 @@ int snd_pcm_get_params(snd_pcm_t *pcm, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t *period_size) { - assert(pcm); snd_pcm_hw_params_t *hw; int err; + assert(pcm); snd_pcm_hw_params_alloca(&hw); err = snd_pcm_hw_params_current(pcm, hw); if (err < 0) -- 2.47.1