From 819110dfb37aca76a887839bf3da89dc143a48ec Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Mar 2006 02:39:22 +0000 Subject: r14410: init a var (This used to be commit 59bc3e8ab0f9722b0292465b20f3876b25095418) --- source4/gtk/tools/gregedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/gtk') diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c index fdbf5357ea..6a05b5ef0c 100644 --- a/source4/gtk/tools/gregedit.c +++ b/source4/gtk/tools/gregedit.c @@ -435,7 +435,7 @@ static void on_open_remote_activate(GtkMenuItem *menuitem, gpointer user_data) static void on_save_as_activate(GtkMenuItem *menuitem, gpointer user_data) { gint result; - WERROR error; + WERROR error = WERR_OK; GtkWidget *savefilewin = create_savefilewin(); result = gtk_dialog_run(GTK_DIALOG(savefilewin)); switch(result) { -- cgit