littlefs
littlefs copied to clipboard
refactor: value stored to 'diff' is never read
Tests passed ✓, Code: 17104 B (+0.0%), Stack: 1448 B (+0.0%), Structs: 812 B (+0.0%)
| Code | Stack | Structs | Coverage | ||
|---|---|---|---|---|---|
| Default | 17104 B (+0.0%) | 1448 B (+0.0%) | 812 B (+0.0%) | Lines | 2434/2594 lines (+0.0%) |
| Readonly | 6230 B (+0.0%) | 448 B (+0.0%) | 812 B (+0.0%) | Branches | 1283/1616 branches (+0.0%) |
| Threadsafe | 17956 B (+0.0%) | 1448 B (+0.0%) | 820 B (+0.0%) | Benchmarks | |
| Multiversion | 17176 B (+0.0%) | 1448 B (+0.0%) | 816 B (+0.0%) | Readed | 29369693876 B (+0.0%) |
| Migrate | 18768 B (+0.0%) | 1752 B (+0.0%) | 816 B (+0.0%) | Proged | 1482874766 B (+0.0%) |
| Error-asserts | 17916 B (+0.0%) | 1440 B (+0.0%) | 812 B (+0.0%) | Erased | 1568888832 B (+0.0%) |
Interesting, I wonder why this wasn't caught with GCC -pedantic -Wall -Wextra.
Will bring this in on the next patch release, thanks for the PR!
I also used clang-tidy and cppcheck