summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/heapallocatealigned.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/heapallocatealigned.c')
-rw-r--r--cpukit/score/src/heapallocatealigned.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/src/heapallocatealigned.c b/cpukit/score/src/heapallocatealigned.c
index 557c3c8499..741b389e77 100644
--- a/cpukit/score/src/heapallocatealigned.c
+++ b/cpukit/score/src/heapallocatealigned.c
@@ -172,8 +172,7 @@ void *_Heap_Allocate_aligned(
_HAssert(_Heap_Is_aligned_ptr((void*)aligned_user_addr, alignment));
- the_block =
- _Heap_Block_allocate(the_heap, the_block, alloc_size);
+ (void)_Heap_Block_allocate(the_heap, the_block, alloc_size);
stats->searches += search_count + 1;
stats->allocs += 1;