-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initlize struct lfs_diskoff disk = {0} #855
Conversation
Minor release: v2.7
Tests passed ✓, Code: 16678 B (+0.1%), Stack: 1432 B (+0.0%), Structs: 788 B (+0.0%)
|
Hi @mdahamshi, thanks for creating a PR. It's worth noting that this struct does not get used unless the top-bit of the tag is set, which only happens when we initialize the struct's contents. But we can bring this in to at least silence the warning. |
so we don't use it uninitlized in first run
Tests passed ✓, Code: 16678 B (+0.1%), Stack: 1432 B (+0.0%), Structs: 788 B (+0.0%)
|
Thanks again for this, and everyone else who reported/proposed a fix. Sorry about taking so long to merge. There was some integration issues in the dependent littlefs-fuse I wanted to fix before making another release. |
so we don't use it uninitlized in first run