You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code in lfs.c causes a cppcheck warning
Identical inner 'if' condition is always true (outer condition is 'true' and inner condition is 'true').
// begin loop to commit compaction to blocks until a compact sticks
while (true) {
if (true) {
if (true) appears in several places in littlefs. Is this done for debugging purposes or some other reasons? Is it possible to change the implementation to avoid the warning?
The text was updated successfully, but these errors were encountered:
I did not get any compiler warnings with or without if (true) { (only error: redefinition of 'err'). The error does not happen when if (true) { is replaced by {.
The following code in lfs.c causes a cppcheck warning
if (true)
appears in several places in littlefs. Is this done for debugging purposes or some other reasons? Is it possible to change the implementation to avoid the warning?The text was updated successfully, but these errors were encountered: