Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ph/format-patch-no-color'
[gitweb.git]
/
xdiff
/
xprepare.c
diff --git
a/xdiff/xprepare.c
b/xdiff/xprepare.c
index eba31ffaeebb4fe15f45ce854aa2ed3f63489b8c..5a33d1a86964472a82a63f18ab3c9b4da9b23165 100644
(file)
--- a/
xdiff/xprepare.c
+++ b/
xdiff/xprepare.c
@@
-264,6
+264,8
@@
int xdl_prepare_env(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
long enl1, enl2, sample;
xdlclassifier_t cf;
+ memset(&cf, 0, sizeof(cf));
+
/*
* For histogram diff, we can afford a smaller sample size and
* thus a poorer estimate of the number of lines, as the hash