Skip to content

Various fixes#4018

Merged
carlosmn merged 7 commits into
libgit2:masterfrom
pks-t:pks/various-fixes
Dec 12, 2016
Merged

Various fixes#4018
carlosmn merged 7 commits into
libgit2:masterfrom
pks-t:pks/various-fixes

Conversation

@pks-t
Copy link
Copy Markdown
Member

@pks-t pks-t commented Nov 25, 2016

The title says it all. Just played around with VS2017 RC1 and wanted to see if there's anything interesting in the warnings. Nothing too interesting, I guess. Fixes for multiple uses of uninitialized values is the most interesting outcome.

@carlosmn
Copy link
Copy Markdown
Member

The last commit is a duplicate of the one that was merged in #4014, can you remove it? The rest look fine, just need to get the Windows CI to avoid the race.

The function `cl_git_thread_check()` is defined as static. As the
function is defined in a header file which is included by our
tests, this can result in warnings for every test file where
`cl_git_thread_check` is never used.

Fix the issue by marking it as inline instead.
@pks-t pks-t force-pushed the pks/various-fixes branch from 737fa72 to 34b3205 Compare December 12, 2016 08:16
@pks-t
Copy link
Copy Markdown
Member Author

pks-t commented Dec 12, 2016

Rebased on latest master

@carlosmn carlosmn merged commit 9d5f12f into libgit2:master Dec 12, 2016
@pks-t pks-t deleted the pks/various-fixes branch February 8, 2017 15:14
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.

2 participants