silence gcc about "possible" (impossible) use of uninitialized variable
This commit is contained in:
parent
0f9be192b6
commit
d9c4492fd9
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ void *sloballoc(SLOB *slob, size_t size)
|
|||
void slobfree(SLOB *slob, void *a_)
|
||||
{
|
||||
struct alloc *a = a_ - sizeof(struct alloc);
|
||||
struct block *b, **p, *left=NULL, *right=NULL, **rightp;
|
||||
struct block *b, **p, *left=NULL, *right=NULL, **rightp=NULL;
|
||||
|
||||
// sanity check: a lies inside slob
|
||||
assert((void *)a >= (void *)slob->data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue