From 11d56d5d0e8e3ccb7798cd3aac4ade4c2e066a1c Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 25 Oct 2021 12:48:04 +0200 Subject: Variable 'show_image_collection' is assigned a value that is never used --- src/eom-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/eom-window.c b/src/eom-window.c index a9dcd05..0c27927 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -574,7 +574,6 @@ update_action_groups_state (EomWindow *window) GtkAction *action_sshow; GtkAction *action_print; gboolean print_disabled = FALSE; - gboolean show_image_collection = FALSE; gint n_images = 0; g_return_if_fail (EOM_IS_WINDOW (window)); @@ -633,6 +632,8 @@ update_action_groups_state (EomWindow *window) priv->status = EOM_WINDOW_STATUS_NORMAL; } } else { + gboolean show_image_collection; + if (priv->flags & EOM_STARTUP_DISABLE_COLLECTION) { g_settings_set_boolean (priv->ui_settings, EOM_CONF_UI_IMAGE_COLLECTION, FALSE); -- cgit v1.2.1