BCC is more strict about not statements before parameter declarations

This commit is contained in:
Dion Nicolaas
2015-05-02 13:48:44 +02:00
parent 088e0471f1
commit b6007ac59d
8 changed files with 38 additions and 32 deletions

View File

@@ -73,10 +73,6 @@ int APIENTRY WinMain(HINSTANCE hInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
UNREFERENCED_PARAMETER(nCmdShow);
INITCOMMONCONTROLSEX InitCtrls;
int argc;
char* argv[MAX_CMDLINE_PARAM];
@@ -87,6 +83,9 @@ int APIENTRY WinMain(HINSTANCE hInstance,
DWORD major, minor;
boolean resuming;
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
UNREFERENCED_PARAMETER(nCmdShow);
/* ensure that we don't access violate on a panic() */
windowprocs.win_raw_print = mswin_raw_print;