about summary refs log tree commit diff
path: root/third_party/git/diff-delta.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/diff-delta.c')
-rw-r--r--third_party/git/diff-delta.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/third_party/git/diff-delta.c b/third_party/git/diff-delta.c
index 77fea08dfb04..e49643353bf5 100644
--- a/third_party/git/diff-delta.c
+++ b/third_party/git/diff-delta.c
@@ -326,8 +326,6 @@ create_delta(const struct delta_index *index,
 	const unsigned char *ref_data, *ref_top, *data, *top;
 	unsigned char *out;
 
-	*delta_size = 0;
-
 	if (!trg_buf || !trg_size)
 		return NULL;