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

tool_getparam: fix uninitialized variable warning #1663

Closed
wants to merge 1 commit into from

Conversation

MarcelRaad
Copy link
Member

Since 84b9458, err could be returned
unintialized in line 1655 if file2memory did not return PARAM_OK in
line 1637. Fix this by initializing err with the return value of
file2memory.

Since 84b9458, err could be returned
unintialized in line 1655 if file2memory did not return PARAM_OK in
line 1637. Fix this by initializing err with the return value of
file2memory.
@MarcelRaad MarcelRaad requested a review from bagder July 8, 2017 15:19
@mention-bot
Copy link

@MarcelRaad, thanks for your PR! By analyzing the history of the files in this pull request, we identified @yangtse, @bagder and @captain-caveman2k to be potential reviewers.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 75.939% when pulling 7f79390 on MarcelRaad:getparam_uninit into a548183 on curl:master.

@MarcelRaad
Copy link
Member Author

MarcelRaad commented Jul 8, 2017

Has test 1208 from 2011 suddenly become flaky? This test also failed for PR #1662, and I don't think it's related to any of these PRs. It's an FTP test and now suddenly gets a QUIT, which was removed from the expected output in ac54d27.

@MarcelRaad
Copy link
Member Author

Fixed in 17da675.

@MarcelRaad MarcelRaad closed this Jul 9, 2017
@MarcelRaad MarcelRaad deleted the getparam_uninit branch July 9, 2017 18:19
@jay
Copy link
Member

jay commented Jul 10, 2017

I didn't realize when I committed that you had already proposed a fix for this issue, sorry about that.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants