diff options
| author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-11 12:42:42 -0500 |
|---|---|---|
| committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-18 15:21:27 -0500 |
| commit | 066ab03acc48f49a671f147ae1754caa12980886 (patch) | |
| tree | 2be77f029ce478377376f3386f7a60677d2dcba6 /src/test/test-daemon.c | |
| parent | 5abcee286e24129bf32104aa5cf993b8e1f386e0 (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/test/test-daemon.c')
0 files changed, 0 insertions, 0 deletions
