Fix MSVC "unreferenced local variable" compilation warning.

This commit is contained in:
nulltoken 2012-04-04 13:59:58 +02:00
parent 2ec83ff09d
commit 17bd6de3fb

View File

@ -46,6 +46,7 @@ void test_core_errors__new_school(void)
{
struct stat st;
assert(p_lstat("this_file_does_not_exist", &st) < 0);
GIT_UNUSED(st);
}
giterr_set(GITERR_OS, "stat failed"); /* internal fn */