Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 492851c

Browse files
committed
Removed unused variables
1 parent cae2a55 commit 492851c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tests/diff/binary.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ void test_diff_binary__empty_for_no_diff(void)
277277
git_tree *tree;
278278
git_diff *diff;
279279
git_buf actual = GIT_BUF_INIT;
280-
const char *expected = "";
281280

282281
opts.flags = GIT_DIFF_SHOW_BINARY | GIT_DIFF_FORCE_BINARY;
283282
opts.id_abbrev = GIT_OID_HEXSZ;

tests/diff/workdir.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,6 @@ void test_diff_workdir__only_writes_index_when_necessary(void)
17911791
git_index *index;
17921792
git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
17931793
git_diff *diff = NULL;
1794-
git_diff_perfdata perf = GIT_DIFF_PERFDATA_INIT;
17951794
git_reference *head;
17961795
git_object *head_object;
17971796
git_oid initial, first, second;

0 commit comments

Comments
 (0)