mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 10:01:12 +00:00
Clean up GCC build warnings
This commit is contained in:
parent
22bcf86c5a
commit
72629a10e3
@ -45,8 +45,7 @@ void test_object_tree_attributes__treebuilder_reject_invalid_filemode(void)
|
||||
{
|
||||
git_repository *repo;
|
||||
git_treebuilder *builder;
|
||||
git_oid bid, tid;
|
||||
git_tree *tree;
|
||||
git_oid bid;
|
||||
const git_tree_entry *entry;
|
||||
|
||||
repo = cl_git_sandbox_init("deprecated-mode.git");
|
||||
|
@ -65,7 +65,7 @@ static void assert_merge_and_or_remote_key_missing(git_repository *repository, c
|
||||
{
|
||||
git_reference *branch;
|
||||
|
||||
cl_assert_equal_i(GIT_OBJ_COMMIT, git_object_type(target));
|
||||
cl_assert_equal_i(GIT_OBJ_COMMIT, git_object_type((git_object*)target));
|
||||
cl_git_pass(git_branch_create(&branch, repository, entry_name, (git_commit*)target, 0));
|
||||
|
||||
cl_assert_equal_i(GIT_ENOTFOUND, git_branch_tracking(&tracking, branch));
|
||||
|
Loading…
Reference in New Issue
Block a user