Re: [PATCH 2.6.2-rc1-mm3] fs/xfs/xfs_log_recover.c

From: Bryan Whitehead
Date: Mon Jan 26 2004 - 19:12:30 EST


Nathan Scott wrote:
On Sat, Jan 24, 2004 at 08:48:59PM -0800, Bryan Whitehead wrote:

On compile I get this:

fs/xfs/xfs_log_recover.c: In function `xlog_recover_reorder_trans':
fs/xfs/xfs_log_recover.c:1534: warning: `flags' might be used uninitialized in this function

I previously sent this patch and it was wrong.


What compiler version are you using? Is this a recent gcc or an
older version - if the former, is gcc really getting dumber? if
the latter, I'm wondering why I haven't come across this anytime
in the last few years of compiling xfs. Or is this some non-gcc
compiler out of left field?

thanks.


This is gcc 3.3.2 on gentoo linux.

gcc may be getting dumber, or just more precautious?

--
Bryan Whitehead
Email:driver@xxxxxxxxxxxxx
WorkE:driver@xxxxxxxxxxxx

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