From: Garrett Wollman Date: Mon, 16 Jul 2012 01:47:35 +0000 (-0400) Subject: volser: dead store in UV_MoveVolume2 X-Git-Tag: upstream/1.8.0_pre1^2~2229 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ce1917c801b8338629723b4ccf38b336e873aef1;p=packages%2Fo%2Fopenafs.git volser: dead store in UV_MoveVolume2 Change-Id: Iee66b99388c7deb0109aaf676ad28ec9c27e6409 Reviewed-on: http://gerrit.openafs.org/7773 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index f02fe44db..767732251 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -1531,7 +1531,7 @@ UV_MoveVolume2(afs_uint32 afromvol, afs_uint32 afromserver, afs_int32 afrompart, /* Get a clone id */ VPRINT1("Allocating new volume id for clone of volume %u ...", afromvol); - newVol = tmpVol = 0; + tmpVol = 0; vcode = ubik_VL_GetNewVolumeId(cstruct, 0, 1, &tmpVol); newVol = tmpVol; EGOTO1(mfail, vcode,