mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
testlocale, testplatform, testqsort: replace exit(1) calls with return 1
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user