From 185d7a7bd4a9a384f65d01b91410e6b3bdbaad7a Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 30 May 2023 11:40:17 +0800 Subject: [PATCH] heap: fixed unused variable warning --- components/heap/heap_trace_standalone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/heap/heap_trace_standalone.c b/components/heap/heap_trace_standalone.c index 53ba9553b3..4a01d5e024 100644 --- a/components/heap/heap_trace_standalone.c +++ b/components/heap/heap_trace_standalone.c @@ -18,7 +18,7 @@ #include "esp_memory_utils.h" #include "sys/queue.h" -static const char* TAG = "heaptrace"; +static __attribute__((unused)) const char* TAG = "heaptrace"; #define STACK_DEPTH CONFIG_HEAP_TRACING_STACK_DEPTH