Skip to content

Commit

Permalink
Fixed warnings in NO_STDIO mode
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 20, 2007
1 parent c49af1c commit 6980dd4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/win32/SDL_win32_main.c
Expand Up @@ -234,12 +234,6 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
char **argv;
int argc;
char *cmdline;
DWORD pathlen;
#ifdef _WIN32_WCE
wchar_t path[MAX_PATH];
#else
char path[MAX_PATH];
#endif
#ifdef _WIN32_WCE
wchar_t *bufp;
int nLen;
Expand All @@ -248,6 +242,12 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
size_t nLen;
#endif
#ifndef NO_STDIO_REDIRECT
DWORD pathlen;
#ifdef _WIN32_WCE
wchar_t path[MAX_PATH];
#else
char path[MAX_PATH];
#endif
FILE *newfp;
#endif

Expand Down

0 comments on commit 6980dd4

Please sign in to comment.