diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-07-07 11:31:53 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-07-07 11:35:54 +0200 |
commit | a2acb227fdf234ea63c98aed78ca8425f94d0736 (patch) | |
tree | 04c21f15f74610cfbfd90aaac4cddb916a3a890f /plugins | |
parent | def77f76530c2df8436dcb2ef51b3747ff3e0233 (diff) | |
download | ofono-a2acb227fdf234ea63c98aed78ca8425f94d0736.tar.bz2 |
u8500: Fix compiler warning with logical expression
CC plugins/u8500.o
plugins/u8500.c: In function ‘reachable_cb’:
plugins/u8500.c:235:28: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!g_isi_msg_error(msg) < 0)
^
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/u8500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/u8500.c b/plugins/u8500.c index 73ff4fa2..59ec70bd 100644 --- a/plugins/u8500.c +++ b/plugins/u8500.c @@ -232,7 +232,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data) struct ofono_modem *om = data; struct isi_data *isi = ofono_modem_get_data(om); - if (!g_isi_msg_error(msg) < 0) + if (g_isi_msg_error(msg) < 0) return; ISI_RESOURCE_DBG(msg); |