From 1de51fb74b68a94207384021a878c1a3035d2aff Mon Sep 17 00:00:00 2001 From: Frank Mehnert Date: Tue, 7 Jan 2025 10:23:39 +0100 Subject: prevent warning about setting an unused variable Signed-off-by: Marcus Haehnel --- libc/misc/internals/reloc_static_pie.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/misc/internals/reloc_static_pie.c b/libc/misc/internals/reloc_static_pie.c index cb2c4df87..3bbdef18e 100644 --- a/libc/misc/internals/reloc_static_pie.c +++ b/libc/misc/internals/reloc_static_pie.c @@ -107,6 +107,8 @@ reloc_static_pie(ElfW(Addr) load_addr) PERFORM_BOOTSTRAP_RELOC(rpnt, reloc_addr, symbol_addr, load_addr, sym); } } +#else + (void)rel_size; #endif } _dl_load_base = load_addr; -- cgit v1.2.3