volser: Remove masked assignment in vol_split
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 19 Feb 2013 14:51:30 +0000 (14:51 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Fri, 22 Feb 2013 06:03:23 +0000 (22:03 -0800)
commitedbbcf5b6283db5f3d9b7b06b072bb43b5019baf
tree65d913a8784e009e00f0c7cbef72aac7306c44de
parent9122f81d15f777c996fd26fa52071807886b511e
volser: Remove masked assignment in vol_split

The declaration (and assignment) to size at the outermost scope
in the copyVnodes function is masked by a later declaration at a
inner scope.

Just remove the outer declaration to clarify what's happening.

Caught by clang-analyzer

Change-Id: If23bdcf8a4c2d23d6224762fecce35be9cf15873
Reviewed-on: http://gerrit.openafs.org/9168
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/volser/vol_split.c