Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-09-05 21:25:16 +0400
committerRussell Belfer <rb@github.com>2013-09-05 21:25:16 +0400
commit27061b151a7e0225186365ee0b5ca802d68782a9 (patch)
treef06cd2dff3457743d875c95ea23825c5b864061e /tests-clar/odb
parent9ce4f7da4a69b3853da587b67e8f137ddf036e4c (diff)
Fix some newer GCC compiler warnings
Diffstat (limited to 'tests-clar/odb')
-rw-r--r--tests-clar/odb/backend/nonrefreshing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/odb/backend/nonrefreshing.c b/tests-clar/odb/backend/nonrefreshing.c
index abb824d4b..9abca2bd3 100644
--- a/tests-clar/odb/backend/nonrefreshing.c
+++ b/tests-clar/odb/backend/nonrefreshing.c
@@ -132,8 +132,8 @@ static int build_fake_backend(
static void setup_repository_and_backend(git_error_code error_code)
{
- git_odb *odb;
- git_odb_backend *backend;
+ git_odb *odb = NULL;
+ git_odb_backend *backend = NULL;
_repo = cl_git_sandbox_init("testrepo.git");