telit: minor coding style fixes

This commit is contained in:
Aleksander Morgado
2019-10-31 15:12:54 +01:00
parent eb3f17ddcc
commit 5def58d327

View File

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