summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-14 14:40:00 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-10-14 14:41:19 +0200
commitf013e94ff89680d1acd7dba12ff4a6a0fa7b58bf (patch)
tree67766cc4f5cf9ec590559d74a2bc2d7c66773081
parent3b6176cbe2bc64bbf19fa0378b1c65b646bb6d13 (diff)
xmm: fix missing GError initialization
-rw-r--r--plugins/xmm/mm-shared-xmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xmm/mm-shared-xmm.c b/plugins/xmm/mm-shared-xmm.c
index e2203942..2bf5e8e2 100644
--- a/plugins/xmm/mm-shared-xmm.c
+++ b/plugins/xmm/mm-shared-xmm.c
@@ -1225,7 +1225,7 @@ parent_disable_location_gathering_ready (MMIfaceModemLocation *self,
GAsyncResult *res,
GTask *task)
{
- GError *error;
+ GError *error = NULL;
Private *priv;
priv = get_private (MM_SHARED_XMM (self));
@@ -1324,7 +1324,7 @@ parent_enable_location_gathering_ready (MMIfaceModemLocation *self,
GAsyncResult *res,
GTask *task)
{
- GError *error;
+ GError *error = NULL;
Private *priv;
priv = get_private (MM_SHARED_XMM (self));