Commit b7db0c30 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

[buddy] Fix the previous patch in reorder.c

parent 44ab903b
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.
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment