Skip to content

Conversation

@ethomson
Copy link
Member

After upgrading the undefined behavior scanner to LLVM 14, we see some warnings reported. These warnings are correct; this PR fixes them.

Passing a function pointer with different parameters is UB, even if
those params are (void *). Use our separate `_cb` functions that will do
the correct casting.
`git_commit_create_v` takes _commits_ not _commit ids_. Fix the test to
call the API correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants