summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-device
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-11 12:42:42 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-18 15:21:27 -0500
commit066ab03acc48f49a671f147ae1754caa12980886 (patch)
tree2be77f029ce478377376f3386f7a60677d2dcba6 /src/libsystemd/sd-device
parent5abcee286e24129bf32104aa5cf993b8e1f386e0 (diff)
bus-kernel: reword assignment of dst_id in bus_message_setup_kmsg
Setting of dst_id was based on interplay of two booleans, making the logic hard to follow (for humans and compilers alike). gcc was confused and emmitted a warning about an uninitialized variable. Rework the code to make it obvious that dst_id is set properly.
Diffstat (limited to 'src/libsystemd/sd-device')
0 files changed, 0 insertions, 0 deletions