path: root/rpc
diff options
authorNiels de Vos <>2018-12-27 13:21:57 +0100
committerAtin Mukherjee <>2018-12-28 03:43:59 +0000
commit89f1ebef957813f1262603ea5ec82539edb1ecad (patch)
tree1577499edcd611d7e9de259ea9a46abac17d6acf /rpc
parenta6dc153e47f9025b09e8aae14ca6ba96fa20a23e (diff)
barrier: replace boolean-switch statement with if/else
Squash some ugly warnings, and make the code a little bit simpler by removing some unneeded goto jumps. On Ubuntu 16.04 the following warnings were reported by Amudhan: CC barrier.lo barrier.c: In function ‘notify’: barrier.c:499:33: warning: switch condition has boolean value [-Wswitch-bool] switch (past) { ^ barrier.c: In function ‘reconfigure’: barrier.c:565:25: warning: switch condition has boolean value [-Wswitch-bool] switch (past) { ^ Change-Id: Ifb6b75058dff8c789b729c76530a1358d391f4d1 Updates: bz#1193929 Reported-by: Amudhan P <> Signed-off-by: Niels de Vos <>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions