aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--shared.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/shared.c b/shared.c
index 8ed14c0..7e88bbd 100644
--- a/shared.c
+++ b/shared.c
@@ -368,7 +368,6 @@ void cgit_diff_tree(const unsigned char *old_sha1,
struct diff_options opt;
struct pathspec_item item;
- memset(&item, 0, sizeof(item));
diff_setup(&opt);
opt.output_format = DIFF_FORMAT_CALLBACK;
opt.detect_rename = 1;