From 99da5f93e828d7ce3cdb008d2348f699e2abfac0 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 20 Mar 2009 09:20:49 -0700 Subject: [PATCH] Fix uninitialized variable error in ztest_dmu_commit_callbacks() --- cmd/ztest/ztest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index efe4fd06bc..df0cabed9c 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -2536,7 +2536,7 @@ ztest_dmu_commit_callbacks(ztest_args_t *za) ztest_cb_list_t *zcl = &ztest_shared->zs_cb_list; ztest_cb_data_t *cb_data[3], *tmp_cb; uint64_t old_txg, txg; - int i, error; + int i, error = 0; tx = dmu_tx_create(os);