mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-28 03:48:53 +02: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:
@@ -752,7 +752,7 @@ _g_dbus_worker_do_read_cb (GInputStream *input_stream,
|
||||
g_warning ("Error decoding D-Bus message of %" G_GSIZE_FORMAT " bytes\n"
|
||||
"The error is: %s\n"
|
||||
"The payload is as follows:\n"
|
||||
"%s\n",
|
||||
"%s",
|
||||
worker->read_buffer_cur_size,
|
||||
error->message,
|
||||
s);
|
||||
|
Reference in New Issue
Block a user