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

Andrew Price andy at andrewprice.me.uk
Sun Jan 13 16:45:03 UTC 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup_loop_var.diff
Type: text/x-diff
Size: 754 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20080113/a3671b91/attachment.bin>


More information about the Cluster-devel mailing list