mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
vlserver: Remove dead assignment
Don't assign the serverNumber to j, when we're just about to try and get it from a multi homed extent record Caught by clang-analyzer. Change-Id: I79349ff211b5df2d16e6ee9122dbb28b04ad7823 Reviewed-on: http://gerrit.openafs.org/9228 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
5d2d68f8ac
commit
fc527bf139
@ -3107,7 +3107,6 @@ vlentry_to_vldbentry(struct vl_ctx *ctx, struct nvlentry *VlEntry,
|
||||
for (i = 0; i < OMAXNSERVERS; i++) {
|
||||
if (VlEntry->serverNumber[i] == BADSERVERID)
|
||||
break;
|
||||
j = VlEntry->serverNumber[i];
|
||||
code = multiHomedExtent(ctx, VlEntry->serverNumber[i], &exp);
|
||||
if (code)
|
||||
return code;
|
||||
|
Loading…
Reference in New Issue
Block a user