Fix warning in main function
main could according to the compiler end up not returning. of course it will always return, but I satisfied the compiler by adding a default case. Signed-off-by: Tayou <tayou@gmx.net>
This commit is contained in:
@ -91,5 +91,7 @@ int main(int argc, char *argv[])
|
||||
return 1;
|
||||
case Application::Succeeded:
|
||||
return 0;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user