From a94ecdc079cbfe4ed9fcd6945eb12d53ed35a670 Mon Sep 17 00:00:00 2001 From: Kromster80 Date: Sat, 13 Dec 2014 10:55:04 +0300 Subject: [PATCH] Removed unneeded assignment --- Recast/Source/RecastRasterization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Recast/Source/RecastRasterization.cpp b/Recast/Source/RecastRasterization.cpp index 45a7d35..c3bda80 100644 --- a/Recast/Source/RecastRasterization.cpp +++ b/Recast/Source/RecastRasterization.cpp @@ -50,7 +50,7 @@ static rcSpan* allocSpan(rcHeightfield& hf) // Allocate memory for the new pool. rcSpanPool* pool = (rcSpanPool*)rcAlloc(sizeof(rcSpanPool), RC_ALLOC_PERM); if (!pool) return 0; - pool->next = 0; + // Add the pool into the list of pools. pool->next = hf.pools; hf.pools = pool;