diff options
author | rbuj <[email protected]> | 2022-07-27 13:30:04 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2022-09-11 18:13:03 +0000 |
commit | bbadb685aed77037c8d4734abb23350d753186cc (patch) | |
tree | 853d7eb86d7b42f8aa59973ac9e5aeb26d75996c /src | |
parent | 95e75ae2253961b61201ffe3be353771e4d21db7 (diff) | |
download | mate-terminal-bbadb685aed77037c8d4734abb23350d753186cc.tar.bz2 mate-terminal-bbadb685aed77037c8d4734abb23350d753186cc.tar.xz |
terminal-window: Vble is assigned a value that is never used
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal-window.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c index 0d3d1e9..aa5288f 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -3553,14 +3553,11 @@ confirm_close_window_or_tab (TerminalWindow *window, GtkBuilder *builder; TerminalWindowPrivate *priv = window->priv; GtkWidget *dialog; - gboolean do_confirm; gboolean has_processes; int n_tabs; char *confirm_msg; - do_confirm = g_settings_get_boolean (settings_global, "confirm-window-close"); - - if (!do_confirm) + if (!g_settings_get_boolean (settings_global, "confirm-window-close")) return FALSE; if (screen) @@ -3572,8 +3569,6 @@ confirm_close_window_or_tab (TerminalWindow *window, { GList *tabs, *t; - do_confirm = FALSE; - tabs = terminal_window_list_screen_containers (window); n_tabs = g_list_length (tabs); |