[alsa-devel] [PATCH 01/06] Fix compilation warning for sound/soc/codecs/wm8400.c

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jul 16 15:47:01 CEST 2009

On Thu, Jul 16, 2009 at 03:34:06PM +0200, Takashi Iwai wrote:
> Mark Brown wrote:

> > In this case I suspect that whatever compiler you are using (none of
> > those I've tried with seem to be doing this) isn't able to figure out
> > that if we skip initialising the variable then we use exactly the same
> > condition to return from the function before we try to use the variable.

> I get compile warnings on gcc 4.4.0, too.

Ah, that's useful - my GCC 4.4 system is at home so I can't try that one
immediately.  Which architecture?

More information about the Alsa-devel mailing list