]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
volser: dead store in UV_MoveVolume2
authorGarrett Wollman <wollman@csail.mit.edu>
Mon, 16 Jul 2012 01:47:35 +0000 (21:47 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 16 Jul 2012 12:30:42 +0000 (05:30 -0700)
Change-Id: Iee66b99388c7deb0109aaf676ad28ec9c27e6409
Reviewed-on: http://gerrit.openafs.org/7773
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/volser/vsprocs.c

index f02fe44db71be71d771c2f8cc8cb2cc284fd10e0..767732251747f7924b97198978f5a6afe4afa56c 100644 (file)
@@ -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,