Cppcheck-Nitpicking #330
holgerlembke
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi Holger, Valentin is also refactoring the codebase so he might take this in account. There might be parts that will be simplified as some legacy features disappear. Check #280 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just some remarks from Cppcheck nitpicking some code fragments. No errors, no warning, just stil complains. All good!
epdiy.c/82
x/y can't be less 0, because coord.x/y is uint16_t.
lut.c/393
Operator '|' with one operand equal to zero is redundant. /me assumes it means s1...
and
Local variable 'v1' shadows outer variable
There are some "Variable 'xxxxx' can be declared as pointer to const" and "The scope of the variable 'xxxx' can be reduced. "
Beta Was this translation helpful? Give feedback.
All reactions