Re: [PATCH 2.6.19-rc3] i386/io_apic: fix compiler warning in create_irq

From: Adrian Bunk
Date: Tue Oct 31 2006 - 14:10:28 EST


On Tue, Oct 31, 2006 at 12:15:02PM +0100, Ingo Molnar wrote:
>...
> we definitely do not want to hide these places. They both make the code
> less readable (why initialize it to some value if that value is never
> used) and they hide the problem from the GCC folks too.

What about cases where it's technically impossible for gcc to ever see
that a variable actually gets initialized?

> Ingo

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/