simtech: fix missing GError initialization

This commit is contained in:
Aleksander Morgado
2020-10-14 14:38:52 +02:00
parent 50c1550c9f
commit 3b6176cbe2

View File

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