diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-08-22 18:42:17 +0100 |
---|---|---|
committer | Cleo Menezes Jr <cleomenezesjr@gmail.com> | 2022-08-22 17:07:57 -0400 |
commit | b423aaea58e1e4443fe8532fe1731b9ed8100d59 (patch) | |
tree | 6aad44c0a65ce674b93b24c0c5556bb00f58cdd2 | |
parent | c0aa8bdb45298964638cf914c27f67cab2959a95 (diff) | |
download | libgweather-b423aaea58e1e4443fe8532fe1731b9ed8100d59.tar.gz |
Initialize mapped file variable
Fixes: #178
-rw-r--r-- | libgweather/gweather-private.c | 2 |
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; |