Commit 5086983b authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Fix warning, add default case to switch.

parent 77c4de56
......@@ -174,6 +174,8 @@ int main()
case Suspend:
creationFlags |= CREATE_SUSPENDED;
break;
default:
break;
}
if (!CreateProcessW(0, argv[ArgCmdLine], 0, 0, FALSE, creationFlags, env, 0, &si, &pi)) {
/* Only expected error: no such file or direcotry, i.e. executable not found */
......
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