summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-14 14:38:40 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-10-14 14:41:19 +0200
commit50c1550c9f808ddd080f7992bf2d7f4dfae6e0ec (patch)
treea30c9e765f78d1acbb61fe75541a25ed3c4bd8b5
parentdf9cb4a8f6f0abaad8052e36c10874bfbea2ac76 (diff)
cinterion: fix missing GError initialization
-rw-r--r--plugins/cinterion/mm-shared-cinterion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cinterion/mm-shared-cinterion.c b/plugins/cinterion/mm-shared-cinterion.c
index 9ad03a75..5b7a360f 100644
--- a/plugins/cinterion/mm-shared-cinterion.c
+++ b/plugins/cinterion/mm-shared-cinterion.c
@@ -470,7 +470,7 @@ parent_disable_location_gathering_ready (MMIfaceModemLocation *self,
GAsyncResult *res,
GTask *task)
{
- GError *error;
+ GError *error = NULL;
Private *priv;
priv = get_private (MM_SHARED_CINTERION (self));
@@ -727,7 +727,7 @@ parent_enable_location_gathering_ready (MMIfaceModemLocation *self,
GAsyncResult *res,
GTask *task)
{
- GError *error;
+ GError *error = NULL;
Private *priv;
priv = get_private (MM_SHARED_CINTERION (self));