Fix compiler warning
Fix compiler complaint about declaration after statement
@@ -256,6 +256,7 @@ static void release_memory(void* mem)
malloc_count--;
#ifdef UNITY_EXCLUDE_STDLIB_MALLOC
+ {
size_t block_size;
block_size = unity_size_round_up(guard->size + sizeof(end));
@@ -264,6 +265,7 @@ static void release_memory(void* mem)
{
heap_index -= (sizeof(Guard) + block_size);
}
+ }
#else
UNITY_FIXTURE_FREE(guard);
#endif
