summaryrefslogtreecommitdiff
path: root/test/testgamecontroller.c
diff options
context:
space:
mode:
authorOzkan Sezer <sezeroz@gmail.com>2019-09-10 10:03:20 +0300
committerOzkan Sezer <sezeroz@gmail.com>2019-09-10 10:03:20 +0300
commit0fc51028724887e4d1801942e206d7d82749ef41 (patch)
treee86593bdd6010dd6621644fc03a545c433da160b /test/testgamecontroller.c
parente13e9b42ffa83cc4fceef455a052524023087840 (diff)
downloadsdl-0fc51028724887e4d1801942e206d7d82749ef41.tar.gz
test: replace some exit()s with returns.
Diffstat (limited to 'test/testgamecontroller.c')
-rw-r--r--test/testgamecontroller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testgamecontroller.c b/test/testgamecontroller.c
index 4d3c93937..8b7f48873 100644
--- a/test/testgamecontroller.c
+++ b/test/testgamecontroller.c
@@ -367,7 +367,7 @@ int
main(int argc, char *argv[])
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
- exit(1);
+ return 1;
}
#endif