From fc527bf139c2149657a93b91abe2b7406484f55b Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Thu, 21 Feb 2013 21:16:40 +0000 Subject: [PATCH] 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 Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Derrick Brashear --- src/vlserver/vlprocs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vlserver/vlprocs.c b/src/vlserver/vlprocs.c index 715e2a0664..baa2a4c654 100644 --- a/src/vlserver/vlprocs.c +++ b/src/vlserver/vlprocs.c @@ -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;