summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gmail.com>2022-08-22 17:50:32 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2022-08-22 17:50:32 +0000
commit162636c20c8787d754c38ff4c1674c14a6c3338a (patch)
tree6aad44c0a65ce674b93b24c0c5556bb00f58cdd2
parent0a069ee9fea75a3caebcbe43005d3ad7d9e3c116 (diff)
parent7832646549be3b1685c3b32f36c9a5556c7a2f14 (diff)
downloadlibgweather-162636c20c8787d754c38ff4c1674c14a6c3338a.tar.gz
Merge branch 'ebassi/issue-178' into 'main'
Initialize mapped file variable Closes #178 See merge request GNOME/libgweather!212
-rw-r--r--libgweather/gweather-private.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgweather/gweather-private.c b/libgweather/gweather-private.c
index 2f95d69..c6b3258 100644
--- a/libgweather/gweather-private.c
+++ b/libgweather/gweather-private.c
@@ -44,7 +44,7 @@ ensure_world (gpointer dummy G_GNUC_UNUSED)
{
g_autoptr (GError) error = NULL;
g_autofree char *filename = NULL;
- g_autoptr (GMappedFile) map;
+ g_autoptr (GMappedFile) map = NULL;
const char *locations_path;
GWeatherDb *db = NULL;