projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def77f7
)
u8500: Fix compiler warning with logical expression
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 7 Jul 2015 09:31:53 +0000
(11:31 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 7 Jul 2015 09:35:54 +0000
(11:35 +0200)
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)
^
plugins/u8500.c
patch
|
blob
|
history
diff --git
a/plugins/u8500.c
b/plugins/u8500.c
index 73ff4fa22edf345c25f7cc0648f7387dca4d95da..59ec70bd9b26025ff1d07038fa4d43bf3ba8d9e4 100644
(file)
--- 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);