testlocale, testplatform, testqsort: replace exit(1) calls with return 1
This commit is contained in:
1 parent
2834d8b3b7
commit
37d3eea939
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -63,7 +63,7 @@ int main(int argc, char **argv)
|
|||||||
if (consumed <= 0) {
|
if (consumed <= 0) {
|
||||||
static const char *options[] = { "[--listen]", NULL };
|
static const char *options[] = { "[--listen]", NULL };
|
||||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||||
exit(1);
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
i += consumed;
|
i += consumed;
|
||||||
|
|||||||
+1
-1
@@ -472,7 +472,7 @@ int main(int argc, char *argv[])
|
|||||||
if (consumed <= 0) {
|
if (consumed <= 0) {
|
||||||
static const char *options[] = { "[-q]", NULL };
|
static const char *options[] = { "[-q]", NULL };
|
||||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||||
exit(1);
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
i += consumed;
|
i += consumed;
|
||||||
|
|||||||
+1
-1
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
|
|||||||
if (consumed <= 0) {
|
if (consumed <= 0) {
|
||||||
static const char *options[] = { "[SEED]", NULL };
|
static const char *options[] = { "[SEED]", NULL };
|
||||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||||
exit(1);
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
i += consumed;
|
i += consumed;
|
||||||
|
|||||||
Reference in new issue
Block a user