diff options
-rw-r--r-- | sbin/ccdconfig/ccdconfig.c | 2 | ||||
-rw-r--r-- | sbin/mount_ext2fs/mount_ext2fs.c | 3 |
2 files changed, 1 insertions, 4 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"); diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c index 4e72454..e396823 100644 --- a/sbin/mount_ext2fs/mount_ext2fs.c +++ b/sbin/mount_ext2fs/mount_ext2fs.c @@ -72,9 +72,8 @@ main(argc, argv) { struct iovec iov[6]; int ch, mntflags; - char *fs_name, *options, *fspec, mntpath[MAXPATHLEN]; + char *fs_name, *fspec, mntpath[MAXPATHLEN]; - options = NULL; mntflags = 0; while ((ch = getopt(argc, argv, "o:")) != -1) switch (ch) { |