Skip to content
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

Fix building failed at uninitialized varaiable issue for espressif in… #46

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

andysun2015
Copy link
Contributor

The shadow demo in amazon freertos will use this module and failed due to "error: 'valueStart' may be used uninitialized in this function [-Werror=maybe-uninitialized]".
This PR will assign the variable a initial value which is '0' to fix the issue.

Copy link
Contributor

@dan4thewin dan4thewin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a false positive, but easier to "fix" than to mute the warning.

@aggarw13 aggarw13 merged commit bfbe326 into FreeRTOS:master Oct 13, 2020
@andysun2015 andysun2015 deleted the Fix_uninit_variable_issue branch October 13, 2020 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants