Commit b5ab878f4c3ec6134c043a8c22d22290da1e3403

Pierre-Olivier Latour 2015-03-08T14:09:50

Fixed build warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/reset/reset_helpers.c b/tests/reset/reset_helpers.c
index ec67b86..e6acec9 100644
--- a/tests/reset/reset_helpers.c
+++ b/tests/reset/reset_helpers.c
@@ -7,7 +7,7 @@ void reflog_check(git_repository *repo, const char *refname,
 	git_reflog *log;
 	const git_reflog_entry *entry;
 
-	exp_email = exp_email;
+	GIT_UNUSED(exp_email);
 
 	cl_git_pass(git_reflog_read(&log, repo, refname));
 	cl_assert_equal_i(exp_count, git_reflog_entrycount(log));