Skip to content

Commit

Permalink
Fix compiler warning for make static
Browse files Browse the repository at this point in the history
Found by: michaelortmann
Patch by: michaelortmann
  • Loading branch information
michaelortmann authored Dec 1, 2024
1 parent 1d4c009 commit 9014477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 9014477

Please sign in to comment.