From: Simon McVittie Date: Mon, 17 Jan 2011 12:04:09 +0000 (+0000) Subject: remove obviously-redundant code from list_concat_new X-Git-Tag: dbus-1.4.4~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c0c06e356f01bc34ddc42e2ee889fd9ea4a0ea;p=thirdparty%2Fdbus.git remove obviously-redundant code from list_concat_new Origin: vendor, Maemo Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128 Bug-NB: NB#180486 Reviewed-by: Simon McVittie --- diff --git a/bus/bus.c b/bus/bus.c index e8276af45..86a73fa26 100644 --- a/bus/bus.c +++ b/bus/bus.c @@ -618,7 +618,6 @@ list_concat_new (DBusList **a, *result = NULL; - link = _dbus_list_get_first_link (a); for (link = _dbus_list_get_first_link (a); link; link = _dbus_list_get_next_link (a, link)) { if (!_dbus_list_append (result, link->data))