diff options
author | Ozkan Sezer <sezeroz@gmail.com> | 2019-09-10 10:03:20 +0300 |
---|---|---|
committer | Ozkan Sezer <sezeroz@gmail.com> | 2019-09-10 10:03:20 +0300 |
commit | 0fc51028724887e4d1801942e206d7d82749ef41 (patch) | |
tree | e86593bdd6010dd6621644fc03a545c433da160b /test/testgamecontroller.c | |
parent | e13e9b42ffa83cc4fceef455a052524023087840 (diff) | |
download | sdl-0fc51028724887e4d1801942e206d7d82749ef41.tar.gz |
test: replace some exit()s with returns.
Diffstat (limited to 'test/testgamecontroller.c')
-rw-r--r-- | test/testgamecontroller.c | 2 |
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 |