diff options
author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-13 22:03:29 +0100 |
---|---|---|
committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-13 22:05:25 +0100 |
commit | 51716898aa00ea2d38dfe38d28a33b4ffbdf22ff (patch) | |
tree | d8189a2c54f2fce48bd86181b14973d01039cf65 /cmake-nRF5x | |
parent | 21da5869c5e48df666ea9d9c7698f7f69528645e (diff) |
Twos: fix warning about extra paranthesis
We have a comparison like `if (( a == b ))`, which is a parenthesis too
much, which generates the following warning
```
InfiniTime/src/displayapp/screens/Twos.cpp:133:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((grid[newRow][newCol].value == grid[oldRow][oldCol].value)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
InfiniTime/src/displayapp/screens/Twos.cpp:133:35: note: remove extraneous parentheses around the comparison to silence this warning
if ((grid[newRow][newCol].value == grid[oldRow][oldCol].value)) {
~ ^ ~
```
Diffstat (limited to 'cmake-nRF5x')
0 files changed, 0 insertions, 0 deletions