mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
for the sake of testing: -Wnone
This commit is contained in:
parent
45388202c4
commit
3f1cad18af
1 changed files with 5 additions and 0 deletions
5
main.c
5
main.c
|
@ -253,6 +253,11 @@ static bool options_parse(int argc, char **argv) {
|
||||||
opts_werror = true;
|
opts_werror = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (!strcmp(argv[0]+2, "NONE")) {
|
||||||
|
for (itr = 0; itr < sizeof(opts_warn)/sizeof(opts_warn[0]); ++itr)
|
||||||
|
opts_warn[itr] = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
else if (!strcmp(argv[0]+2, "ALL")) {
|
else if (!strcmp(argv[0]+2, "ALL")) {
|
||||||
for (itr = 0; itr < sizeof(opts_warn)/sizeof(opts_warn[0]); ++itr)
|
for (itr = 0; itr < sizeof(opts_warn)/sizeof(opts_warn[0]); ++itr)
|
||||||
opts_warn[itr] = 0xFFFFFFFFL;
|
opts_warn[itr] = 0xFFFFFFFFL;
|
||||||
|
|
Loading…
Reference in a new issue