summaryrefslogtreecommitdiff
path: root/source4/gtk/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-15 02:39:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:20 -0500
commit819110dfb37aca76a887839bf3da89dc143a48ec (patch)
treed31b9204a993377f93aa1d465ae5a11d6024ce2b /source4/gtk/tools
parentc061e9089f06e05346ce547561c401f24335252c (diff)
downloadsamba-819110dfb37aca76a887839bf3da89dc143a48ec.tar.gz
samba-819110dfb37aca76a887839bf3da89dc143a48ec.tar.bz2
samba-819110dfb37aca76a887839bf3da89dc143a48ec.zip
r14410: init a var
(This used to be commit 59bc3e8ab0f9722b0292465b20f3876b25095418)
Diffstat (limited to 'source4/gtk/tools')
-rw-r--r--source4/gtk/tools/gregedit.c2
1 files changed, 1 insertions, 1 deletions
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) {