Merge branch 'rj/warning-uninitialized-fix'

Compilation fix.

* rj/warning-uninitialized-fix:
  read-cache: fix an -Wmaybe-uninitialized warning
  -Wuninitialized: remove some 'init-self' workarounds
This commit is contained in:
Junio C Hamano
2018-03-21 11:30:15 -07:00
4 changed files with 8 additions and 6 deletions

View File

@ -536,7 +536,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
mark_edges_uninteresting(&revs, show_edge);
if (bisect_list) {
int reaches = reaches, all = all;
int reaches, all;
find_bisection(&revs.commits, &reaches, &all, bisect_find_all);