mirror of https://github.com/libsdl-org/SDL.git
testlocale, testplatform, testqsort: replace exit(1) calls with return 1
This commit is contained in:
parent
2834d8b3b7
commit
37d3eea939
|
|
@ -63,7 +63,7 @@ int main(int argc, char **argv)
|
|||
if (consumed <= 0) {
|
||||
static const char *options[] = { "[--listen]", NULL };
|
||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||
exit(1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
i += consumed;
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@ int main(int argc, char *argv[])
|
|||
if (consumed <= 0) {
|
||||
static const char *options[] = { "[-q]", NULL };
|
||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||
exit(1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
i += consumed;
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ int main(int argc, char *argv[])
|
|||
if (consumed <= 0) {
|
||||
static const char *options[] = { "[SEED]", NULL };
|
||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||
exit(1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
i += consumed;
|
||||
|
|
|
|||
Loading…
Reference in New Issue