summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/diff.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/diff.c b/examples/diff.c
index 63956aa4e..17bf8427e 100644
--- a/examples/diff.c
+++ b/examples/diff.c
@@ -138,8 +138,6 @@ int main(int argc, char *argv[])
int i, color = -1, compact = 0, cached = 0;
char *a, *dir = ".", *treeish1 = NULL, *treeish2 = NULL;
- memset(&opts, 0, sizeof(opts));
-
/* parse arguments as copied from git-diff */
for (i = 1; i < argc; ++i) {