Be explicit about enum comparison in bus_config_load()
authorDeepika Aggarwal <deepika.a@samsung.com>
Thu, 3 Dec 2015 05:52:56 +0000 (11:22 +0530)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 1 Jul 2016 15:46:04 +0000 (16:46 +0100)
commitb36708830b8a0e5c1166a882cba5bbe7afa966ca
tree9e4f9a45031deb1ff0395c5b840dd4e1ad2b3f24
parent187ae737ec3319383cfe5e6282d1c7e0b9550dcc
Be explicit about enum comparison in bus_config_load()

XML_Parse() can potentially return values other than OK (1) or ERROR (0),
and they aren't errors.

Signed-off-by: Deepika Aggarwal <deepika.a@samsung.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93205
[smcv: improve commit message, fix whitespace]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/config-loader-expat.c