diff options
| author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-13 21:03:29 (GMT) |
|---|---|---|
| committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-13 21:05:25 (GMT) |
| commit | 51716898aa00ea2d38dfe38d28a33b4ffbdf22ff (patch) | |
| tree | d8189a2c54f2fce48bd86181b14973d01039cf65 /src/displayapp/screens/PassKey.cpp | |
| 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 'src/displayapp/screens/PassKey.cpp')
0 files changed, 0 insertions, 0 deletions
