On Sun, May 21, 2006 at 03:02:34PM -0400, Ameer Armaly wrote:I agree. The compiler should be smart enough to at least consider the possibility of initializing through pointers.
> This patch removes un-initialized variable warnings for block and offset in
> namei.c, which are later initialized through a call to isofs_find_entry().
Which indicates the problem lies with gcc, just like with the other patches
'fixing' these warnings.
The warning is bogus.It is, but at the same it's clutter; in my opinion, readability is not impacted by explicitly initializing variables that get initialized through a pointer, and we reduce annoying make output.
-
--
http://www.codemonkey.org.uk
-
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/