mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-27 20:49:51 +01:00
all: Remove trailing newlines from g_message()/g_warning()/g_error()s
All those logging functions already add a newline to any message they print, so there’s no need to add a trailing newline in the message passed to them. Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
This commit is contained in:
@@ -3092,7 +3092,7 @@ g_test_trap_subprocess (const char *test_path,
|
||||
&pid, NULL, &stdout_fd, &stderr_fd,
|
||||
&error))
|
||||
{
|
||||
g_error ("g_test_trap_subprocess() failed: %s\n",
|
||||
g_error ("g_test_trap_subprocess() failed: %s",
|
||||
error->message);
|
||||
}
|
||||
g_ptr_array_free (argv, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user