diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2010-08-15 18:36:25 -0300 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2010-08-15 18:36:25 -0300 |
commit | 9fda18663f31e67d8c1c50e1c5a1888abceda2a6 (patch) | |
tree | a680bd9c701eaec1016d6beb28bf2c79cfc538e0 /remote/remote.c | |
parent | 9fe6a457e1d9d01f6645d91805691afd429d0a2c (diff) |
Fix potential problems found by clang static analyzer.
Diffstat (limited to 'remote/remote.c')
-rw-r--r-- | remote/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |