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

Takashi Iwai tiwai at suse.de
Thu Jul 16 15:51:02 CEST 2009


At Thu, 16 Jul 2009 14:47:01 +0100,
Mark Brown wrote:
> 
> 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?

x86_64, at least.


Takashi


More information about the Alsa-devel mailing list