[buddy] Fix the previous patch in reorder.c
This commit is contained in:
parent
44ab903b86
commit
b7db0c3085
2 changed files with 11 additions and 2 deletions
|
|
@ -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>
|
2009-09-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
Fix some issues reported by LLVM/Clang's static analyser.
|
Fix some issues reported by LLVM/Clang's static analyser.
|
||||||
|
|
|
||||||
|
|
@ -393,7 +393,7 @@ static BddTree *reorder_swapwin3(BddTree *this, BddTree **first)
|
||||||
|
|
||||||
static BddTree *reorder_win3(BddTree *t)
|
static BddTree *reorder_win3(BddTree *t)
|
||||||
{
|
{
|
||||||
BddTree *this, *first=t;
|
BddTree *this=t, *first=t;
|
||||||
|
|
||||||
if (t == NULL)
|
if (t == NULL)
|
||||||
return t;
|
return t;
|
||||||
|
|
@ -423,7 +423,7 @@ static BddTree *reorder_win3(BddTree *t)
|
||||||
|
|
||||||
static BddTree *reorder_win3ite(BddTree *t)
|
static BddTree *reorder_win3ite(BddTree *t)
|
||||||
{
|
{
|
||||||
BddTree *this=t, *first=t;
|
BddTree *this, *first=t;
|
||||||
int lastsize;
|
int lastsize;
|
||||||
|
|
||||||
if (t == NULL)
|
if (t == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue