mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
Removed unused variables
This commit is contained in:
parent
cae2a55552
commit
492851c9a2
@ -277,7 +277,6 @@ void test_diff_binary__empty_for_no_diff(void)
|
|||||||
git_tree *tree;
|
git_tree *tree;
|
||||||
git_diff *diff;
|
git_diff *diff;
|
||||||
git_buf actual = GIT_BUF_INIT;
|
git_buf actual = GIT_BUF_INIT;
|
||||||
const char *expected = "";
|
|
||||||
|
|
||||||
opts.flags = GIT_DIFF_SHOW_BINARY | GIT_DIFF_FORCE_BINARY;
|
opts.flags = GIT_DIFF_SHOW_BINARY | GIT_DIFF_FORCE_BINARY;
|
||||||
opts.id_abbrev = GIT_OID_HEXSZ;
|
opts.id_abbrev = GIT_OID_HEXSZ;
|
||||||
|
@ -1791,7 +1791,6 @@ void test_diff_workdir__only_writes_index_when_necessary(void)
|
|||||||
git_index *index;
|
git_index *index;
|
||||||
git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
|
git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
|
||||||
git_diff *diff = NULL;
|
git_diff *diff = NULL;
|
||||||
git_diff_perfdata perf = GIT_DIFF_PERFDATA_INIT;
|
|
||||||
git_reference *head;
|
git_reference *head;
|
||||||
git_object *head_object;
|
git_object *head_object;
|
||||||
git_oid initial, first, second;
|
git_oid initial, first, second;
|
||||||
|
Loading…
Reference in New Issue
Block a user