From ffad1001532f7681e5d77c5d6030625f15f281a7 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Mon, 7 Mar 2011 15:31:53 -0500 Subject: [PATCH] libadmin: minor warning fix have_quota is set but never used. Remove it. Change-Id: I2428ec274a3e3ad792608ae3a6d0b1af7985c6e8 Reviewed-on: http://gerrit.openafs.org/4177 Reviewed-by: Derrick Brashear Tested-by: BuildBot --- src/libadmin/test/pts.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libadmin/test/pts.c b/src/libadmin/test/pts.c index 7e86888c69..8a5ea2eca2 100644 --- a/src/libadmin/test/pts.c +++ b/src/libadmin/test/pts.c @@ -422,7 +422,6 @@ DoPtsUserModify(struct cmd_syndesc *as, void *arock) afs_status_t st = 0; const char *user = as->parms[USER].items->data; pts_UserUpdateEntry_t entry; - int have_quota = 0; int have_list_status_perm = 0; int have_list_groups_owned_perm = 0; int have_list_membership_perm = 0; @@ -433,7 +432,6 @@ DoPtsUserModify(struct cmd_syndesc *as, void *arock) entry.groupCreationQuota = GetIntFromString(as->parms[GROUPQUOTA].items->data, "bad quota"); entry.flag = PTS_USER_UPDATE_GROUP_CREATE_QUOTA; - have_quota = 1; } if (as->parms[LISTSTATUS].items) {