[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1159968688.20586.18.camel@pmac.infradead.org>
Date: Wed, 04 Oct 2006 14:31:28 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Jeff Garzik <jeff@...zik.org>
Cc: Andrew Morton <akpm@...l.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fs/jffs2: kill warning RE debug-only variables
On Wed, 2006-10-04 at 07:57 -0400, Jeff Garzik wrote:
> build:
>
> fs/jffs2/xattr.c: In function ‘unrefer_xattr_datum’:
> fs/jffs2/xattr.c:402: warning: unused variable ‘version’
> fs/jffs2/xattr.c:402: warning: unused variable ‘xid’
>
> Given that these variables are only used in the debug printk, and they
> merely remove a deref, we can easily kill the warning by adding the
> derefs to the debug printk.
>
> Signed-off-by: Jeff Garzik <jeff@...zik.org>
Applied; thanks.
--
dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists