maxuid_set is unused.
Signed-off-by: Stephen Smalley <[email protected]>
diff --git a/libsemanage/src/genhomedircon.c b/libsemanage/src/genhomedircon.c
index 8af51d3..f3b9b5c 100644
--- a/libsemanage/src/genhomedircon.c
+++ b/libsemanage/src/genhomedircon.c
@@ -284,7 +284,7 @@
char *path = NULL;
long rbuflen;
uid_t temp, minuid = 500, maxuid = 60000;
- int minuid_set = 0, maxuid_set = 0;
+ int minuid_set = 0;
struct passwd pwstorage, *pwbuf;
struct stat buf;
int retval;
@@ -337,7 +337,6 @@
if (path && *path) {
temp = atoi(path);
maxuid = temp;
- maxuid_set = 1;
}
free(path);
path = NULL;