From 9014477b68396275a81b7e4891fd4ed1455bb5f9 Mon Sep 17 00:00:00 2001 From: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com> Date: Sun, 1 Dec 2024 17:03:31 +0100 Subject: [PATCH] Fix compiler warning for make static Found by: michaelortmann Patch by: michaelortmann --- src/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules.c b/src/modules.c index 0fd005760..5c703a298 100644 --- a/src/modules.c +++ b/src/modules.c @@ -695,7 +695,6 @@ int module_register(char *name, Function *funcs, int major, int minor) const char *module_load(char *name) { - size_t len; module_entry *p; char *e; Function f; @@ -704,6 +703,7 @@ const char *module_load(char *name) #endif #ifndef STATIC + size_t len; char workbuf[PATH_MAX]; # ifdef MOD_USE_SHL shl_t hand;