]> granicus.if.org Git - zfs/commitdiff
Updated gcc in fc11 flagged a new uninitialized variable.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 30 Jul 2009 04:17:47 +0000 (21:17 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 30 Jul 2009 04:17:47 +0000 (21:17 -0700)
lib/libzfs/libzfs_dataset.c

index 4b7ece6a3485f809bd8d503f4330cf86c0977dbc..e136d8e2410ee83a1078ab7445685afeb13f4acb 100644 (file)
@@ -2580,7 +2580,7 @@ zfs_create_ancestors(libzfs_handle_t *hdl, const char *path)
        int prefix;
        uint64_t zoned;
        char *path_copy;
-       int rc;
+       int rc = 0;
 
        if (check_parents(hdl, path, &zoned, B_TRUE, &prefix) != 0)
                return (-1);