Mercurial > hg-stable
changeset 22540:9a860ac8c216
parsers: fix uninitialize variable warning
The heads pointer is not initialized correctly if filter is false, causing
both clang and gcc to issue a warning. Correctly initialize heads to NULL.
author | David Soria Parra <davidsp@fb.com> |
---|---|
date | Wed, 24 Sep 2014 13:16:20 -0700 |
parents | 6f434ef54222 |
children | 4e1a80c022a4 |
files | mercurial/parsers.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff