summaryrefslogtreecommitdiffstats
path: root/sbin/mount_udf
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-03-05 22:41:35 +0000
committerjkim <jkim@FreeBSD.org>2013-03-05 22:41:35 +0000
commit475f470cf1bcd7615e6405a71ccdd43f22a0dd54 (patch)
tree2bf559632576aeda40b2632bd7a6fb5f6d18587b /sbin/mount_udf
parent161f82b0bdb9e0bc8b3a3037ded59c981f4a9cf2 (diff)
downloadFreeBSD-src-475f470cf1bcd7615e6405a71ccdd43f22a0dd54.zip
FreeBSD-src-475f470cf1bcd7615e6405a71ccdd43f22a0dd54.tar.gz
GC unused variables. Prefer NULL over 0 for pointers.
Diffstat (limited to 'sbin/mount_udf')
-rw-r--r--sbin/mount_udf/mount_udf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount_udf/mount_udf.c b/sbin/mount_udf/mount_udf.c
index 8ee1286..386ccbb 100644
--- a/sbin/mount_udf/mount_udf.c
+++ b/sbin/mount_udf/mount_udf.c
@@ -74,17 +74,17 @@ int
main(int argc, char **argv)
{
struct iovec iov[12];
- int ch, i, mntflags, opts, udf_flags;
+ int ch, i, mntflags, udf_flags;
char *dev, *dir, mntpath[MAXPATHLEN];
char *cs_disk, *cs_local;
int verbose;
- i = mntflags = opts = udf_flags = verbose = 0;
+ i = mntflags = udf_flags = verbose = 0;
cs_disk = cs_local = NULL;
while ((ch = getopt(argc, argv, "o:vC:")) != -1)
switch (ch) {
case 'o':
- getmntopts(optarg, mopts, &mntflags, &opts);
+ getmntopts(optarg, mopts, &mntflags, NULL);
break;
case 'v':
verbose++;
OpenPOWER on IntegriCloud