[Cluster-devel] [PATCH] Clean up unused loop variable

Bob Peterson rpeterso at redhat.com
Tue Jan 15 15:00:17 UTC 2008


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





More information about the Cluster-devel mailing list