From a4912b367163d0c0d9c55f886663988978af0b5b Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 2 Mar 2025 12:27:40 +0300 Subject: [PATCH] static-vs-dynamic-mem-alloc.c: function empty: discard `mem` --- c-programming/experiments/static-vs-dynamic-mem-alloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/c-programming/experiments/static-vs-dynamic-mem-alloc.c b/c-programming/experiments/static-vs-dynamic-mem-alloc.c index bb7c6e9..3c83620 100644 --- a/c-programming/experiments/static-vs-dynamic-mem-alloc.c +++ b/c-programming/experiments/static-vs-dynamic-mem-alloc.c @@ -19,6 +19,7 @@ void dynamic_memory_allocation(uint8_t** mem); long double measure(void (*function)(uint8_t**), long double* c); void empty(uint8_t** mem) { + (void) mem; return; }