telit: minor coding style fixes
This commit is contained in:
@@ -334,8 +334,8 @@ location_load_capabilities_finish (MMIfaceModemLocation *self,
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
gpsp_test_ready (MMIfaceModemLocation *self,
|
gpsp_test_ready (MMIfaceModemLocation *self,
|
||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
GTask *task)
|
GTask *task)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
MMModemLocationSource sources;
|
MMModemLocationSource sources;
|
||||||
@@ -349,7 +349,7 @@ gpsp_test_ready (MMIfaceModemLocation *self,
|
|||||||
else
|
else
|
||||||
mm_dbg ("telit: GPS controller not supported: %s", error->message);
|
mm_dbg ("telit: GPS controller not supported: %s", error->message);
|
||||||
|
|
||||||
g_clear_error(&error);
|
g_clear_error (&error);
|
||||||
g_task_return_int (task, sources);
|
g_task_return_int (task, sources);
|
||||||
g_object_unref (task);
|
g_object_unref (task);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user