diff options
author | rbuj <[email protected]> | 2020-11-16 07:13:16 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-11-25 15:59:54 +0100 |
commit | a911f11a25ef44cf90e7fce08470724068a5a8a2 (patch) | |
tree | 233332eb6415d731d0154463a8392c993a367211 /mate-dictionary | |
parent | 4de3e8ae87463027e5365018505748353dc44125 (diff) | |
download | mate-utils-a911f11a25ef44cf90e7fce08470724068a5a8a2.tar.bz2 mate-utils-a911f11a25ef44cf90e7fce08470724068a5a8a2.tar.xz |
gdict-utils: variable 'env_string' set but not used
Diffstat (limited to 'mate-dictionary')
-rw-r--r-- | mate-dictionary/libgdict/gdict-utils.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mate-dictionary/libgdict/gdict-utils.c b/mate-dictionary/libgdict/gdict-utils.c index 2a463f74..e47dfd2d 100644 --- a/mate-dictionary/libgdict/gdict-utils.c +++ b/mate-dictionary/libgdict/gdict-utils.c @@ -107,13 +107,11 @@ pre_parse_hook (GOptionContext *context, gpointer data, GError **error) { - const char *env_string; - if (gdict_is_initialized) return TRUE; #ifdef GDICT_ENABLE_DEBUG - env_string = g_getenv ("GDICT_DEBUG"); + const char *env_string = g_getenv ("GDICT_DEBUG"); if (env_string != NULL) { gdict_debug_flags = @@ -121,8 +119,6 @@ pre_parse_hook (GOptionContext *context, gdict_debug_keys, G_N_ELEMENTS (gdict_debug_keys)); } -#else - env_string = NULL; #endif /* GDICT_ENABLE_DEBUG */ return TRUE; |