From 9be78ab820476e27b31440dc2f6ba425d21d5436 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 6 Jul 2012 00:29:59 -0400 Subject: [PATCH] ptserver: unused by set variable 'eid_s' Third declaration of 'eid_s' in WalkNextChain() set but unused. [-Werror=unused-but-set-variable] Change-Id: I7a4e2ea3dea3d58379e31d3c6cb4b3169a882bce Reviewed-on: http://gerrit.openafs.org/7737 Reviewed-by: Simon Wilkinson Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- src/ptserver/db_verify.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ptserver/db_verify.c b/src/ptserver/db_verify.c index fde0252c4d..a4bbabd063 100644 --- a/src/ptserver/db_verify.c +++ b/src/ptserver/db_verify.c @@ -529,17 +529,13 @@ WalkNextChain(char map[], /* one byte per db entry */ if (id == PRBADID) continue; else if (id) { - int eid_s, id_s; + int id_s; sgcount++; /* in case the ids are large, convert to pure sign. */ if (id > 0) id_s = 1; else id_s = -1; - if (eid > 0) - eid_s = 1; - else - eid_s = -1; if (id_s > 0) { fprintf(stderr, "User can't be member of supergroup list\n");