From 9fda18663f31e67d8c1c50e1c5a1888abceda2a6 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 15 Aug 2010 18:36:25 -0300 Subject: Fix potential problems found by clang static analyzer. --- remote/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/remote.c') diff --git a/remote/remote.c b/remote/remote.c index d266735d..f2d0f9c2 100644 --- a/remote/remote.c +++ b/remote/remote.c @@ -898,7 +898,7 @@ static HostDialog *host_dialog_new(GtkWidget * parent, if (mode == HOST_DIALOG_MODE_EDIT) { btn_save = gtk_button_new_from_stock(GTK_STOCK_SAVE); - } else if (mode == HOST_DIALOG_MODE_CONNECT) { + } else { btn_save = gtk_button_new_from_stock(GTK_STOCK_CONNECT); } -- cgit v1.2.3