diff options
author | Pablo Correa Gómez <ablocorrea@hotmail.com> | 2022-08-19 17:15:59 +0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-08-20 20:47:35 +0000 |
commit | 7846e57bfea1be02ece970947e62b30c57752fa8 (patch) | |
tree | 43d7484dd8ed91f90642fb8ad0df8a58329cc456 /panels/region | |
parent | 32b5e5dcb3d1fa9863dcff218b1f59a32cb428da (diff) | |
download | gnome-control-center-7846e57bfea1be02ece970947e62b30c57752fa8.tar.gz |
region: fix possibly unused variable
../panels/region/cc-format-preview.c: In function 'update_format_examples':
../panels/region/cc-format-preview.c:70:16: warning: unused variable 'fmt' [-Wunused-variable]
70 | const gchar *fmt;
| ^~~
Diffstat (limited to 'panels/region')
-rw-r--r-- | panels/region/cc-format-preview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/panels/region/cc-format-preview.c b/panels/region/cc-format-preview.c index 1c111ed24..61b434b1b 100644 --- a/panels/region/cc-format-preview.c +++ b/panels/region/cc-format-preview.c @@ -67,7 +67,9 @@ update_format_examples (CcFormatPreview *self) locale_t old_locale; g_autoptr(GDateTime) dt = NULL; g_autofree gchar *s = NULL; +#ifdef LC_MEASUREMENT const gchar *fmt; +#endif g_autoptr(GtkPaperSize) paper = NULL; if (region == NULL || region[0] == '\0') |