Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757688AbWKXLS6 (ORCPT ); Fri, 24 Nov 2006 06:18:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757690AbWKXLS6 (ORCPT ); Fri, 24 Nov 2006 06:18:58 -0500 Received: from nz-out-0102.google.com ([64.233.162.193]:52694 "EHLO nz-out-0102.google.com") by vger.kernel.org with ESMTP id S1757688AbWKXLS5 (ORCPT ); Fri, 24 Nov 2006 06:18:57 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t/VQNMWw4ceK27MTp+mN0mGgtvPiWBL1UyGA1UNc4izxG2ZoU/UDc4lUOWUmUszUw5F94ASMdmO/0s8Y2NNDa60l03C8DIV4wXSc7bQFSuo22qVE+Q7NVXtyz5SFvldJeMwmFt04F6JNWJpk218D+J22VHOn8Vmgo7qncixDH4k= Message-ID: <9a8748490611240318y3669562fj7ed64350172ea04b@mail.gmail.com> Date: Fri, 24 Nov 2006 12:18:56 +0100 From: "Jesper Juhl" To: "d binderman" Subject: Re: kernel/power/disk.c(41): remark #593: variable "error" was set but never used Cc: linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 42 On 24/11/06, d binderman 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/