diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-11 12:42:42 -0500 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-05-17 15:22:15 +0200 |
commit | 75cbb152e09780f094d869c5d92d6815442f2900 (patch) | |
tree | 43bf5ddc8fa5389972aea0dd9f99106327bc5ce3 /src/login/logind-core.c | |
parent | 2647e847a11b64dd3757c88afbc1fbb2fb384a6f (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/login/logind-core.c')
0 files changed, 0 insertions, 0 deletions