Fix MSSVC compilation issue

This commit is contained in:
nulltoken 2012-12-24 15:51:10 +01:00
parent 69d1bd9125
commit 6bd09ecc14

View File

@ -44,9 +44,10 @@ void test_clone_nonetwork__local(void)
void test_clone_nonetwork__local_absolute_path(void) void test_clone_nonetwork__local_absolute_path(void)
{ {
const char *local_src;
cl_set_cleanup(&cleanup_repository, "./foo"); cl_set_cleanup(&cleanup_repository, "./foo");
const char *local_src = cl_fixture("testrepo.git"); local_src = cl_fixture("testrepo.git");
cl_git_pass(git_clone(&g_repo, local_src, "./foo", &g_options)); cl_git_pass(git_clone(&g_repo, local_src, "./foo", &g_options));
} }