fix warning

include/stuff/util.h:109:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
include/stuff/util.h:109:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
This commit is contained in:
David du Colombier 2021-10-15 22:07:48 +02:00
parent c86f646bf0
commit 2d098b667d
1 changed files with 3 additions and 2 deletions

View File

@ -99,14 +99,15 @@ extern char* const _buf_end;
#define die(...) \
_die(__FILE__, __LINE__, __VA_ARGS__)
char *argv0;
extern char *argv0;
#undef ARGBEGIN
#undef ARGEND
#undef ARGF
#undef EARGF
#define ARGBEGIN \
int _argtmp=0, _inargv; char *_argv=nil; \
if(!argv0) argv0=*argv; argv++, argc--; \
if(!argv0) argv0=*argv; \
argv++, argc--; \
_inargv=1; USED(_inargv); \
while(argc && argv[0][0] == '-') { \
_argv=&argv[0][1]; argv++; argc--; \