butc: Remove dead assignment

We never use the value of mvFlag once the string has been restored,
so don't bother reseting it.

Caught by clang-analyzer

Change-Id: I12db6957c9b8ec3bb9c43f10d9e9754d4afa3ed7
Reviewed-on: http://gerrit.openafs.org/9248
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
Simon Wilkinson 2013-02-24 10:45:41 +00:00 committed by Derrick Brashear
parent 3fbdc609dc
commit 82b3760c4f

View File

@ -288,10 +288,9 @@ stringNowReplace(char *logFile, char *deviceName)
*pos = '_';
strcat(logFile, deviceName);
/* now put back deviceName to the way it was */
if (mvFlag) {
mvFlag = 0;
if (mvFlag)
deviceName -= devPrefLen;
}
strcpy(deviceName, storeDevice);
return (0);