Skip to content

Commit

Permalink
MAIN: Mark WinMain parameters as unused
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Aug 26, 2020
1 parent 08b8ac1 commit e243bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/phaethon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ void openGamePath(const Common::UString &path) {

#ifdef WIN32
#ifdef UNICODE
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow) {
int WINAPI wWinMain(HINSTANCE UNUSED(hInstance), HINSTANCE UNUSED(hPrevInstance), PWSTR UNUSED(pCmdLine), int UNUSED(nCmdShow)) {
return main(0, 0);
}
#else
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR pCmdLine, int nCmdShow) {
int WINAPI WinMain(HINSTANCE UNUSED(hInstance), HINSTANCE UNUSED(hPrevInstance), PSTR UNUSED(pCmdLine), int UNUSED(nCmdShow)) {
return main(0, 0);
}
#endif
Expand Down

0 comments on commit e243bd4

Please sign in to comment.