Skip to content

Commit

Permalink
Move compiler warning fix to #1707
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelortmann committed Oct 21, 2024
1 parent 7ab8c3c commit ca18a44
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,6 +695,7 @@ 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 @@ -703,7 +704,6 @@ 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 ca18a44

Please sign in to comment.