[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9a8748490611240318y3669562fj7ed64350172ea04b@mail.gmail.com>
Date: Fri, 24 Nov 2006 12:18:56 +0100
From: "Jesper Juhl" <jesper.juhl@...il.com>
To: "d binderman" <dcb314@...mail.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: kernel/power/disk.c(41): remark #593: variable "error" was set but never used
On 24/11/06, d binderman <dcb314@...mail.com> wrote:
>
> Hello there,
>
> I just tried to compile Linux kernel 2.6.18.3 with the Intel C
> C compiler.
>
> The compiler said
>
> 1.
>
> kernel/power/disk.c(41): remark #593: variable "error" was set but never
> used
>
> The source code is
>
> int error = 0;
>
> 2.
>
> kernel/power/disk.c(165): remark #593: variable "error" was set but never
> used
>
> The source code is
>
> int error;
>
> I have checked the source code and I agree with the compiler.
> Suggest delete local variables.
>
I suggest you send a patch :-)
--
Jesper Juhl <jesper.juhl@...il.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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