Fix uninitialized variable
[zfs.git] / cmd / zfs / zfs_main.c
index 86f0d5c..f21c36b 100644 (file)
@@ -3902,7 +3902,7 @@ parse_option(char *mntopt, unsigned long *mntflags, int sloppy)
 {
        const option_map_t *opt;
        char *ptr, *name, *value = NULL;
-       int rc;
+       int rc = 0;
 
        name = strdup(mntopt);
        if (name == NULL)