Skip to content

lib655: silence compiler warning - #2335

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:lib655
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:lib655

Conversation

@vszakats

Copy link
Copy Markdown
Member

No description provided.

@jay jay added the build label Feb 23, 2018
@jay

jay commented Feb 23, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

@vszakats

vszakats commented Feb 23, 2018 •

Copy link
Copy Markdown
Member Author

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
Copy Markdown
Member

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

@bagder

bagder commented Feb 23, 2018

Copy link
Copy Markdown
Member

I'm fixing that mistake in #2337!

@bagder

bagder commented Feb 23, 2018

Copy link
Copy Markdown
Member

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

@vszakats

Copy link
Copy Markdown
Member Author

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

@bagder

bagder commented Feb 23, 2018

Copy link
Copy Markdown
Member

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

@vszakats

Copy link
Copy Markdown
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.

4 participants