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

From: Takashi Iwai
Date: Thu Jul 16 2009 - 09:51:12 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/