[buddy] Fix the previous patch in reorder.c

This commit is contained in:
Alexandre Duret-Lutz 2009-10-01 13:33:16 +02:00
parent 44ab903b86
commit b7db0c3085
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,12 @@
2009-10-01 Alexandre Duret-Lutz <adl@lrde.epita.net>
Fix the previous patch in reorder.c: I missread the
function name in the Clang report...
* src/reorder.c (reorder_win3): Do initialize THIS.
(reorder_win3ite): Do not initialize THIS, its
initial value is never read.
2009-09-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix some issues reported by LLVM/Clang's static analyser.

View file

@ -393,7 +393,7 @@ static BddTree *reorder_swapwin3(BddTree *this, BddTree **first)
static BddTree *reorder_win3(BddTree *t)
{
BddTree *this, *first=t;
BddTree *this=t, *first=t;
if (t == NULL)
return t;
@ -423,7 +423,7 @@ static BddTree *reorder_win3(BddTree *t)
static BddTree *reorder_win3ite(BddTree *t)
{
BddTree *this=t, *first=t;
BddTree *this, *first=t;
int lastsize;
if (t == NULL)