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

lib655: silence compiler warning #2335

Closed
wants to merge 1 commit into from
Closed

lib655: silence compiler warning #2335

wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

No description provided.

@jay jay added the build label Feb 23, 2018
@jay
Copy link
Member

jay commented Feb 23, 2018

I don't get a warning for this also and neither does the CI. How is it being compiled that you see a warning?

@vszakats
Copy link
Member Author

It appears on Travis CI:
https://travis-ci.org/curl/curl/jobs/345254442#L3044

@vszakats
Copy link
Member Author

vszakats commented Feb 23, 2018

With this one I can't spot any connection with PR #2334 (which belongs to the above Travis CI log). The warning looks valid, a global var is defined without a declaration, even though the variable is used in this file only. It was committed recently in 2371364.

@MarcelRaad
Copy link
Member

Yes, warnings in tests and examples are easy to miss as they're never treated as errors.

@bagder
Copy link
Member

bagder commented Feb 23, 2018

I'm fixing that mistake in #2337!

@bagder
Copy link
Member

bagder commented Feb 23, 2018

I assume you meant to say that it silences a warning in lib655.c ?

@vszakats
Copy link
Member Author

Yes, that's what I meant. I'm open to suggestions for better phrasing!

@bagder
Copy link
Member

bagder commented Feb 23, 2018

Nah, I think the phrasing is fine if it just mentions the right file! =)

@vszakats
Copy link
Member Author

Wow, indeed, I messed up a copy-paste, thanks a bunch for the heads up! Correcting it right away.

@vszakats vszakats changed the title lib1525: silence compiler warning lib655.c: silence compiler warning Feb 23, 2018
@vszakats vszakats changed the title lib655.c: silence compiler warning lib655: silence compiler warning Feb 23, 2018
@vszakats vszakats closed this in a1d78ff Feb 23, 2018
@vszakats vszakats deleted the lib655 branch February 23, 2018 23:58
@lock lock bot locked as resolved and limited conversation to collaborators May 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

4 participants