Remove trailing \n where they are not necessary

Adding a trailing \n to g_message, g_debug, g_warning and g_error is not
neccessary, as a newline will be added automatically by the logging
infrastructure.
This commit is contained in:
Benjamin Berg
2020-09-29 10:42:03 +02:00
parent 62edf93958
commit fab349f356
10 changed files with 43 additions and 43 deletions

View File

@@ -57,7 +57,7 @@ on_device_closed (FpDevice *dev, GAsyncResult *res, void *user_data)
fp_device_close_finish (dev, res, &error);
if (error)
g_warning ("Failed closing device %s\n", error->message);
g_warning ("Failed closing device %s", error->message);
g_main_loop_quit (enroll_data->loop);
}
@@ -89,7 +89,7 @@ on_enroll_completed (FpDevice *dev, GAsyncResult *res, void *user_data)
}
else
{
g_warning ("Enroll failed with error %s\n", error->message);
g_warning ("Enroll failed with error %s", error->message);
}
fp_device_close (dev, NULL, (GAsyncReadyCallback) on_device_closed,