]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-bus: remove unnecessary variable 18890/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Mar 2021 15:36:37 +0000 (16:36 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 6 Mar 2021 08:32:18 +0000 (09:32 +0100)
commit7a39ec2e3edcf2cd8759bf0cb5ba1f5d7c636e6e
tree0c6dcbf80d38994cb225bdaffa049e44fdb27f27
parent48eb2af68a0258fcee49633934ddb67806cb5e98
sd-bus: remove unnecessary variable

Also use structued initialization in one more place, use '\0' for NUL bytes,
and move variable to the right block (the code was OK, but it is strange to
have 'char *value' defined in a different scope then 'size_t value_allocated').
src/libsystemd/sd-bus/bus-match.c