chiark / gitweb /
sd-bus: drop redundant code
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 28 Jul 2015 16:13:33 +0000 (18:13 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:07:19 +0000 (10:07 +0100)
commitd455a7ccd53c158fc6ef51ee4b5ba8d34f7794f4
treedff2e4a7ba02246ab70aa567dbfa9fbf2603670d
parent21127a147a58a99640a0b8672350d48b47110df2
sd-bus: drop redundant code

If c->item_size is 0, the next item to parse in a structure is empty.
However, this also implies that the signature must be empty. The latter
case is already handled just fine by enter_struct_or_dict_entry() so
there is no reason to handle the same case in the caller.
src/libelogind/sd-bus/bus-message.c