summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-14 14:38:52 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-10-14 14:41:19 +0200
commit3b6176cbe2bc64bbf19fa0378b1c65b646bb6d13 (patch)
tree4932643e7155f1eff7d63d180ddbbe7e61dc0c8f
parent50c1550c9f808ddd080f7992bf2d7f4dfae6e0ec (diff)
simtech: fix missing GError initialization
-rw-r--r--plugins/simtech/mm-shared-simtech.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/simtech/mm-shared-simtech.c b/plugins/simtech/mm-shared-simtech.c
index 0d3da877..f6921b61 100644
--- a/plugins/simtech/mm-shared-simtech.c
+++ b/plugins/simtech/mm-shared-simtech.c
@@ -304,7 +304,7 @@ parent_disable_location_gathering_ready (MMIfaceModemLocation *self,
GAsyncResult *res,
GTask *task)
{
- GError *error;
+ GError *error = NULL;
Private *priv;
priv = get_private (MM_SHARED_SIMTECH (self));
@@ -436,7 +436,7 @@ parent_enable_location_gathering_ready (MMIfaceModemLocation *self,
GAsyncResult *res,
GTask *task)
{
- GError *error;
+ GError *error = NULL;
Private *priv;
priv = get_private (MM_SHARED_SIMTECH (self));