[PATCH] xfs: fix set-but-unused warnings

Christoph Hellwig hch at infradead.org
Tue Dec 2 03:23:10 CST 2014


On Tue, Dec 02, 2014 at 02:09:01PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> The kernel compile doesn't turn on these checks by default, so it's
> only when I do a kernel-user sync that I find that there are lots of
> compiler warnings waiting to be fixed. Fix up these set-but-unused
> warnings.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

Looks good.  Maybe we should enable those warnings for fs/xfs?

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list