aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ci.c')
-rw-r--r--src/ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ci.c b/src/ci.c
index f5498b2..ee5fd50 100644
--- a/src/ci.c
+++ b/src/ci.c
@@ -77,8 +77,8 @@ cleanup_repo:
int ci_run_git_repo(const char *url, const char *rev, struct proc_output *output)
{
- char *oldpwd;
- git_repository *repo;
+ char *oldpwd = NULL;
+ git_repository *repo = NULL;
int ret = 0;
ret = ci_prepare_git_repo(&repo, url, rev);