xmm: fix missing GError initialization

This commit is contained in:
Aleksander Morgado
2020-10-14 14:40:00 +02:00
parent 3b6176cbe2
commit f013e94ff8

View File

@@ -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));