summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index 4629175d0..0ae377e47 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -1691,7 +1691,7 @@ int git_remote_rename(git_strarray *out, git_repository *repo, const char *name,
{
int error;
git_vector problem_refspecs = GIT_VECTOR_INIT;
- git_remote *remote;
+ git_remote *remote = NULL;
assert(out && repo && name && new_name);