summaryrefslogtreecommitdiffstats
path: root/sbin/ccdconfig/ccdconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ccdconfig/ccdconfig.c')
-rw-r--r--sbin/ccdconfig/ccdconfig.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c
index 5159bfa..0c584ff 100644
--- a/sbin/ccdconfig/ccdconfig.c
+++ b/sbin/ccdconfig/ccdconfig.c
@@ -397,7 +397,6 @@ flags_to_val(char *flags)
{
char *cp, *tok;
int i, tmp, val;
- size_t flagslen;
errno = 0; /* to check for ERANGE */
val = (int)strtol(flags, &cp, 0);
@@ -407,7 +406,6 @@ flags_to_val(char *flags)
return (val);
}
- flagslen = strlen(flags);
/* Check for values represented by strings. */
if ((cp = strdup(flags)) == NULL)
err(1, "no memory to parse flags");
OpenPOWER on IntegriCloud