Skip to content
Snippets Groups Projects
Commit 5086983b authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Fix warning, add default case to switch.

parent 77c4de56
No related branches found
No related tags found
No related merge requests found
...@@ -174,6 +174,8 @@ int main() ...@@ -174,6 +174,8 @@ int main()
case Suspend: case Suspend:
creationFlags |= CREATE_SUSPENDED; creationFlags |= CREATE_SUSPENDED;
break; break;
default:
break;
} }
if (!CreateProcessW(0, argv[ArgCmdLine], 0, 0, FALSE, creationFlags, env, 0, &si, &pi)) { 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 */ /* Only expected error: no such file or direcotry, i.e. executable not found */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment