mirror of https://github.com/0intro/wmii
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:
parent
c86f646bf0
commit
2d098b667d
|
@ -99,14 +99,15 @@ extern char* const _buf_end;
|
||||||
#define die(...) \
|
#define die(...) \
|
||||||
_die(__FILE__, __LINE__, __VA_ARGS__)
|
_die(__FILE__, __LINE__, __VA_ARGS__)
|
||||||
|
|
||||||
char *argv0;
|
extern char *argv0;
|
||||||
#undef ARGBEGIN
|
#undef ARGBEGIN
|
||||||
#undef ARGEND
|
#undef ARGEND
|
||||||
#undef ARGF
|
#undef ARGF
|
||||||
#undef EARGF
|
#undef EARGF
|
||||||
#define ARGBEGIN \
|
#define ARGBEGIN \
|
||||||
int _argtmp=0, _inargv; char *_argv=nil; \
|
int _argtmp=0, _inargv; char *_argv=nil; \
|
||||||
if(!argv0) argv0=*argv; argv++, argc--; \
|
if(!argv0) argv0=*argv; \
|
||||||
|
argv++, argc--; \
|
||||||
_inargv=1; USED(_inargv); \
|
_inargv=1; USED(_inargv); \
|
||||||
while(argc && argv[0][0] == '-') { \
|
while(argc && argv[0][0] == '-') { \
|
||||||
_argv=&argv[0][1]; argv++; argc--; \
|
_argv=&argv[0][1]; argv++; argc--; \
|
||||||
|
|
Loading…
Reference in New Issue