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 unitialized variable warning #111

Merged
merged 1 commit into from
Feb 11, 2021
Merged

Conversation

utzig
Copy link
Member

@utzig utzig commented Feb 11, 2021

Fix usage of prev when curr==group, and add checking for invalid parameter. Fix issues found after #108

Fix usage of prev when curr==group, and add checking for invalid
parameter.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
@utzig utzig requested review from vrahane, mlaz and sjanc February 11, 2021 14:15
Copy link
Contributor

@mlaz mlaz left a comment

Choose a reason for hiding this comment

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

Looks good.

Copy link
Contributor

@vrahane vrahane left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @utzig. I did not see a warning locally, it was on zephyr though. Also, the other changes you have do make it cleaner and thank you for that but it doesn’t really fix anything. It would have worked fine the way it was.

@vrahane vrahane merged commit 130ae98 into apache:master Feb 11, 2021
@utzig utzig deleted the fix-linked-list branch February 11, 2021 17:45
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.

None yet

3 participants