libselinux: remove unused variable usercon

In getconlist.c, main() does not use usercon. Remove this variable.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
Nicolas Iooss 2018-04-13 22:34:24 +02:00 committed by William Roberts
parent 5f76f6b8fb
commit efc77aa209
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ static __attribute__ ((__noreturn__)) void usage(const char *name, const char *d
int main(int argc, char **argv)
{
char **list, *usercon = NULL, *cur_context = NULL;
char **list, *cur_context = NULL;
char *user = NULL, *level = NULL;
int ret, i, opt;
@ -69,7 +69,6 @@ int main(int argc, char **argv)
freeconary(list);
}
free(usercon);
free(level);
return 0;