Commit 17bd6de3 by nulltoken

Fix MSVC "unreferenced local variable" compilation warning.

parent 2ec83ff0
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment