Skip to content

Commit

Permalink
Merge branch 'rc/histogram-diff'
Browse files Browse the repository at this point in the history
* rc/histogram-diff:
  xdiff/xprepare: initialise xdlclassifier_t cf in xdl_prepare_env()
  • Loading branch information
Junio C Hamano committed Sep 6, 2011
2 parents 5127a07 + 2738bc3 commit b648557
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xdiff/xprepare.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b648557

Please sign in to comment.