diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-07-07 11:31:09 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-07-07 11:35:54 +0200 |
commit | def77f76530c2df8436dcb2ef51b3747ff3e0233 (patch) | |
tree | 18a0b87e7a2ab8dc0a6b4ac138f2877c3c8d4815 /plugins/n900.c | |
parent | c3af639874f208268c00fedcdee4321b8d540bc6 (diff) | |
download | ofono-def77f76530c2df8436dcb2ef51b3747ff3e0233.tar.bz2 |
n900: Fix compiler warning with logical expression
CC plugins/n900.o
plugins/n900.c: In function ‘mtc_reachable_cb’:
plugins/n900.c:241: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/n900.c')
-rw-r--r-- | plugins/n900.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/n900.c b/plugins/n900.c index 44e2e75d..bfce0901 100644 --- a/plugins/n900.c +++ b/plugins/n900.c @@ -238,7 +238,7 @@ static void mtc_reachable_cb(const GIsiMessage *msg, void *data) struct ofono_modem *modem = data; struct isi_data *isi = ofono_modem_get_data(modem); - if (!g_isi_msg_error(msg) < 0) + if (g_isi_msg_error(msg) < 0) return; ISI_RESOURCE_DBG(msg); |