Commit 9a5afdf
authored
Fix -Wlogical-not-parentheses warning (arduino-libraries#79)
* Fix -Wlogical-not-parentheses warning
The warning occurs because `operator!()` has higher precedence than `operator>()`.
Alternatively, we can use:
```
iClient->connect(iServerAddress, iServerPort) <= 0
```1 parent 7f36561 commit 9a5afdf
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments