diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-04-10 18:31:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2006-04-10 18:31:39 +0200 |
commit | 69dda2f660fb60254ebad17fe83eed2f1913995d (patch) | |
tree | f5d6a1de516c10fd6cea85a932660fdc933e6a93 | |
parent | c31cd9a1fe98fece3c853b4ceee2d67ea9f8b41a (diff) |
Fix compilation with assert()
Fix the position of assert() after the variable declarations.
-rw-r--r-- | src/pcm/pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |