diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-07-07 11:30:20 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-07-07 11:35:54 +0200 |
commit | c3af639874f208268c00fedcdee4321b8d540bc6 (patch) | |
tree | 25d0d3b4a2c7c504149c2cb7a8815d2ec8983cc6 /plugins/isiusb.c | |
parent | b2b67fa74ebf24a20d1b44fa2036b106b4a0d722 (diff) | |
download | ofono-c3af639874f208268c00fedcdee4321b8d540bc6.tar.gz |
isiusb: Fix compiler warning with logical expression
CC plugins/isiusb.o
plugins/isiusb.c: In function ‘reachable_cb’:
plugins/isiusb.c:207: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/isiusb.c')
-rw-r--r-- | plugins/isiusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/isiusb.c b/plugins/isiusb.c index 82d2cc56..92058564 100644 --- a/plugins/isiusb.c +++ b/plugins/isiusb.c @@ -204,7 +204,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); |