mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-06 17:17:04 +00:00
testsem: don't re-parse positional argument twice
This commit is contained in:
committed by
Anonymous Maarten
parent
abfc2a01ca
commit
6a9c692bb9
@@ -302,7 +302,6 @@ int main(int argc, char **argv)
|
||||
(void)signal(SIGTERM, killed);
|
||||
(void)signal(SIGINT, killed);
|
||||
|
||||
init_sem = SDL_atoi(argv[1]);
|
||||
if (init_sem > 0) {
|
||||
TestRealWorld(init_sem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user