From 72d2035ed34eed2f4ceddb4a93283e2edb97e870 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 29 Jul 2009 21:17:47 -0700 Subject: [PATCH] Updated gcc in fc11 flagged a new uninitialized variable. --- lib/libzfs/libzfs_dataset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c index 4b7ece6a34..e136d8e241 100644 --- a/lib/libzfs/libzfs_dataset.c +++ b/lib/libzfs/libzfs_dataset.c @@ -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);