Browse Source

testsem: don't re-parse positional argument twice

Anonymous Maarten 2 years ago
parent
commit
6a9c692bb9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      test/testsem.c

+ 0 - 1
test/testsem.c

@@ -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);
     }