From 8852cef8175bb5421cd14986ac3803985d5e6eae Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 13 Oct 2021 22:04:53 +0200 Subject: [PATCH] quectel: fix non-initialized GError Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/442 --- plugins/quectel/mm-shared-quectel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/quectel/mm-shared-quectel.c b/plugins/quectel/mm-shared-quectel.c index a332ed47..f8ccbbe3 100644 --- a/plugins/quectel/mm-shared-quectel.c +++ b/plugins/quectel/mm-shared-quectel.c @@ -594,7 +594,7 @@ disable_location_gathering_parent_ready (MMIfaceModemLocation *self, GAsyncResult *res, GTask *task) { - GError *error; + GError *error = NULL; Private *priv; priv = get_private (MM_SHARED_QUECTEL (self));