simtech: fix missing GError initialization
This commit is contained in:
@@ -304,7 +304,7 @@ parent_disable_location_gathering_ready (MMIfaceModemLocation *self,
|
|||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
GTask *task)
|
GTask *task)
|
||||||
{
|
{
|
||||||
GError *error;
|
GError *error = NULL;
|
||||||
Private *priv;
|
Private *priv;
|
||||||
|
|
||||||
priv = get_private (MM_SHARED_SIMTECH (self));
|
priv = get_private (MM_SHARED_SIMTECH (self));
|
||||||
@@ -436,7 +436,7 @@ parent_enable_location_gathering_ready (MMIfaceModemLocation *self,
|
|||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
GTask *task)
|
GTask *task)
|
||||||
{
|
{
|
||||||
GError *error;
|
GError *error = NULL;
|
||||||
Private *priv;
|
Private *priv;
|
||||||
|
|
||||||
priv = get_private (MM_SHARED_SIMTECH (self));
|
priv = get_private (MM_SHARED_SIMTECH (self));
|
||||||
|
Reference in New Issue
Block a user