used, unused variables

some variables marked as unused, are now actually used
some unused variables are eliminated or commented out
This commit is contained in:
nhmall
2024-03-16 12:53:58 -04:00
parent cad4d87101
commit 295d6e257c
10 changed files with 24 additions and 21 deletions

View File

@@ -26,9 +26,15 @@ staticfn void debug_fields(const char *);
staticfn void dump_enums(void);
#endif
#ifdef CRASHREPORT
#define USED_FOR_CRASHREPORT
#else
#define USED_FOR_CRASHREPORT UNUSED
#endif
/*ARGSUSED*/
void
early_init(int argc UNUSED, char *argv[] UNUSED)
early_init(int argc USED_FOR_CRASHREPORT, char *argv[] USED_FOR_CRASHREPORT)
{
#ifdef CRASHREPORT
/* Do this as early as possible, but let ports do other things first. */