Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed warnings in NO_STDIO mode
- Loading branch information
Showing
with
6 additions
and
6 deletions.
-
+6
−6
src/main/win32/SDL_win32_main.c
|
@@ -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; |
|
@@ -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 |
|
|
|
|
|