main.c: Fix unused variable when in non-development build

The GSettings is used only for the development build, thus declare
it only when really needed.
This commit is contained in:
Milan Crha
2024-03-01 12:42:17 +01:00
parent d293301271
commit 890f7c4a4d

View File

@ -252,7 +252,6 @@ main (gint argc,
gchar **argv)
{
EShell *shell;
GSettings *settings;
gboolean is_remote;
gint ret;
@ -311,6 +310,7 @@ main (gint argc,
GtkIconTheme *icon_theme;
#endif
#ifdef DEVELOPMENT
GSettings *settings;
gboolean skip_warning_dialog;
#endif