summaryrefslogtreecommitdiff
path: root/dbus/dbus-dataslot.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-07-21 10:59:50 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2016-08-12 17:11:48 +0100
commit76ae52735ee9b574976f43426303636c41203d4c (patch)
tree32f5f62428f2a0e8df9576cb545f3737fd91f4eb /dbus/dbus-dataslot.c
parent6d8a198de928fb7088b67d81d34b0aee35e27f34 (diff)
downloaddbus-76ae52735ee9b574976f43426303636c41203d4c.tar.gz
Remove trailing newlines from _dbus_assert_not_reached
This was never necessary: _dbus_assert_not_reached() always added one. Signed-off-by: Simon McVittie <smcv@debian.org> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97009
Diffstat (limited to 'dbus/dbus-dataslot.c')
-rw-r--r--dbus/dbus-dataslot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-dataslot.c b/dbus/dbus-dataslot.c
index e37c9dd5..a4b3bfc0 100644
--- a/dbus/dbus-dataslot.c
+++ b/dbus/dbus-dataslot.c
@@ -394,7 +394,7 @@ _dbus_data_slot_test (void)
_dbus_data_slot_allocator_alloc (&allocator, &tmp);
if (tmp != i)
- _dbus_assert_not_reached ("did not allocate slots in numeric order\n");
+ _dbus_assert_not_reached ("did not allocate slots in numeric order");
++i;
}