From ea0f60cc24a06f832873b264583f1f05e5d8fa42 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Wed, 13 Jul 2022 14:35:07 -0300 Subject: [PATCH] mm: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC() Signed-off-by: Gustavo Henrique Nihei --- mm/mm_heap/mm_realloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mm_heap/mm_realloc.c b/mm/mm_heap/mm_realloc.c index 7b9abe8b7a..2604099f8b 100644 --- a/mm/mm_heap/mm_realloc.c +++ b/mm/mm_heap/mm_realloc.c @@ -97,7 +97,7 @@ FAR void *mm_realloc(FAR struct mm_heap_s *heap, FAR void *oldmem, { /* There must have been an integer overflow */ - DEBUGASSERT(false); + DEBUGPANIC(); return NULL; }