mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
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 <shadow@dementia.org> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
81487fcf3a
commit
ffad100153
@ -422,7 +422,6 @@ DoPtsUserModify(struct cmd_syndesc *as, void *arock)
|
|||||||
afs_status_t st = 0;
|
afs_status_t st = 0;
|
||||||
const char *user = as->parms[USER].items->data;
|
const char *user = as->parms[USER].items->data;
|
||||||
pts_UserUpdateEntry_t entry;
|
pts_UserUpdateEntry_t entry;
|
||||||
int have_quota = 0;
|
|
||||||
int have_list_status_perm = 0;
|
int have_list_status_perm = 0;
|
||||||
int have_list_groups_owned_perm = 0;
|
int have_list_groups_owned_perm = 0;
|
||||||
int have_list_membership_perm = 0;
|
int have_list_membership_perm = 0;
|
||||||
@ -433,7 +432,6 @@ DoPtsUserModify(struct cmd_syndesc *as, void *arock)
|
|||||||
entry.groupCreationQuota =
|
entry.groupCreationQuota =
|
||||||
GetIntFromString(as->parms[GROUPQUOTA].items->data, "bad quota");
|
GetIntFromString(as->parms[GROUPQUOTA].items->data, "bad quota");
|
||||||
entry.flag = PTS_USER_UPDATE_GROUP_CREATE_QUOTA;
|
entry.flag = PTS_USER_UPDATE_GROUP_CREATE_QUOTA;
|
||||||
have_quota = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (as->parms[LISTSTATUS].items) {
|
if (as->parms[LISTSTATUS].items) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user