Removed unneeded assignment
This commit is contained in:
parent
6799d49b1a
commit
a94ecdc079
@ -50,7 +50,7 @@ static rcSpan* allocSpan(rcHeightfield& hf)
|
|||||||
// Allocate memory for the new pool.
|
// Allocate memory for the new pool.
|
||||||
rcSpanPool* pool = (rcSpanPool*)rcAlloc(sizeof(rcSpanPool), RC_ALLOC_PERM);
|
rcSpanPool* pool = (rcSpanPool*)rcAlloc(sizeof(rcSpanPool), RC_ALLOC_PERM);
|
||||||
if (!pool) return 0;
|
if (!pool) return 0;
|
||||||
pool->next = 0;
|
|
||||||
// Add the pool into the list of pools.
|
// Add the pool into the list of pools.
|
||||||
pool->next = hf.pools;
|
pool->next = hf.pools;
|
||||||
hf.pools = pool;
|
hf.pools = pool;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user