Commit 499e8b0f authored by Markus Kauppila's avatar Markus Kauppila

Clean up.

parent 7ebdc0e8
...@@ -1207,17 +1207,11 @@ ParseOptions(int argc, char *argv[]) ...@@ -1207,17 +1207,11 @@ ParseOptions(int argc, char *argv[])
exit(1); exit(1);
} }
// \todo User given string should be handled as a string
// representing a hex digit
//userExecKey = atoi(execKeyString);
int ret = sscanf(execKeyString, "%llx", &userExecKey); int ret = sscanf(execKeyString, "%llx", &userExecKey);
if(ret != 1) { if(ret != 1) {
fprintf(stderr, "Error: Failed to parse exec-key option"); fprintf(stderr, "Error: Failed to parse exec-key option");
exit(1); exit(1);
} }
printf("%Lx", userExecKey);
} }
else if(SDL_strcmp(arg, "--test") == 0 || SDL_strcmp(arg, "-t") == 0) { else if(SDL_strcmp(arg, "--test") == 0 || SDL_strcmp(arg, "-t") == 0) {
only_selected_test = 1; only_selected_test = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment