Skip to content

Commit b648557

Browse files
committed
Merge branch 'rc/histogram-diff'
* rc/histogram-diff: xdiff/xprepare: initialise xdlclassifier_t cf in xdl_prepare_env()
2 parents 5127a07 + 2738bc3 commit b648557

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xdiff/xprepare.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ int xdl_prepare_env(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
264264
long enl1, enl2, sample;
265265
xdlclassifier_t cf;
266266

267+
memset(&cf, 0, sizeof(cf));
268+
267269
/*
268270
* For histogram diff, we can afford a smaller sample size and
269271
* thus a poorer estimate of the number of lines, as the hash

0 commit comments

Comments
 (0)