mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 17:40:11 +01:00
intel/compiler tests: fix "is there something after the options" check
cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34756>
This commit is contained in:
parent
729922cdae
commit
f545f9eed4
2 changed files with 2 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ int main(int argc, char **argv)
|
|||
goto end;
|
||||
}
|
||||
|
||||
if (!argv[optind]) {
|
||||
if (optind == argc) {
|
||||
fprintf(stderr, "Please specify input file\n");
|
||||
goto end;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -282,7 +282,7 @@ int main(int argc, char **argv)
|
|||
goto end;
|
||||
}
|
||||
|
||||
if (!argv[optind]) {
|
||||
if (optind == argc) {
|
||||
fprintf(stderr, "Please specify input file\n");
|
||||
goto end;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue