mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 03:26:15 +08: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(SIGTERM, killed);
|
||||||
(void)signal(SIGINT, killed);
|
(void)signal(SIGINT, killed);
|
||||||
|
|
||||||
init_sem = SDL_atoi(argv[1]);
|
|
||||||
if (init_sem > 0) {
|
if (init_sem > 0) {
|
||||||
TestRealWorld(init_sem);
|
TestRealWorld(init_sem);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user