static analyzer bit in options.c

Analyzer didn't like the use of strchr on an incomplete type.
Move the guts into a function in o_init.c.
This commit is contained in:
nhmall
2024-01-21 13:38:25 -05:00
parent 6f47094b8d
commit d4f04fbdc8
3 changed files with 14 additions and 10 deletions

View File

@@ -2085,6 +2085,7 @@ extern int choose_disco_sort(int);
extern int dodiscovered(void);
extern int doclassdisco(void);
extern void rename_disco(void);
extern void get_sortdisco(char *opts, boolean cnf) NONNULLARG1;
/* ### objects.c ### */