From: Bob Peterson Date: Tue, 15 Jan 2008 09:00:17 -0600 Subject: [Cluster-devel] [PATCH] Clean up unused loop variable In-Reply-To: <478A400F.4010507@andrewprice.me.uk> References: <478A400F.4010507@andrewprice.me.uk> Message-ID: <1200409217.13758.29.camel@technetium.msp.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Sun, 2008-01-13 at 16:45 +0000, Andrew Price wrote: > Reading through the gfs2_edit code I noticed that a variable is > initialised and incremented in this for loop but is not used inside the > loop and the final value of the variable is not used subsequently. This > patch removes the initialisation and increment of the variable. > > -- > Andy Price Hi Andy, Thanks for your help. I've applied your patch to the HEAD branch of CVS. I'll try to work it into the RHEL5 branch when I have to update that next. I think RHEL5 needs a bugzilla record, so that one may not get done for a little while. Regards, Bob Peterson Red Hat GFS