summaryrefslogtreecommitdiff
path: root/src/apply.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apply.c')
-rw-r--r--src/apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apply.c b/src/apply.c
index 28d6cd85c..b21d83885 100644
--- a/src/apply.c
+++ b/src/apply.c
@@ -575,7 +575,7 @@ static int apply_deltas(
{
git_strmap *removed_paths;
size_t i;
- int error;
+ int error = 0;
if (git_strmap_alloc(&removed_paths) < 0)
return -1;