quectel: fix non-initialized GError

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/442
This commit is contained in:
Aleksander Morgado
2021-10-13 22:06:31 +02:00
parent 2b742d99d5
commit 8852cef817
+1 -1
View File
@@ -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));