Re: [RFC]Documentation:accounting:getdelays.c Fix: warning: variable ‘i’ set but not used

From: Justin P. Mattock
Date: Tue Apr 12 2011 - 21:30:36 EST


On 04/12/2011 06:18 PM, Andrew Morton wrote:
On Tue, 12 Apr 2011 17:44:49 -0700 "Justin P. Mattock"<justinmattock@xxxxxxxxx> wrote:

On 04/12/2011 05:26 PM, Andrew Morton wrote:
On Tue, 5 Apr 2011 09:02:50 -0700
"Justin P. Mattock"<justinmattock@xxxxxxxxx> wrote:

Keep in mind there is another warning with this file, but need am unsure what might be the best solution:
Documentation/accounting/getdelays.c: In function ___get_family_id___:
Documentation/accounting/getdelays.c:172:14: warning: variable ___rc___ set but not used [-Wunused-but-set-variable]

this?

there was two warnings with that one..(or atleast that what I am seeing
over here).

I don't know what you mean.

What command(s) are you using to build getdelays.o, btw?


the two warnings while building getdelays
to build the kernel I just do:
"make"

part of the log here:
http://fpaste.org/eXmq/

system is fedora 15. .config is theirs as well

Justin P. Mattock
--
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/