From 45c4fc7c6ca13eec4ae965b1cbcf3b37e9f5e99a Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 28 Dec 2017 11:11:20 +0100 Subject: [PATCH] msvcrt: Remove unused variables. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcrt/data.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/dlls/msvcrt/data.c b/dlls/msvcrt/data.c index 712b330372c..5a0241885a6 100644 --- a/dlls/msvcrt/data.c +++ b/dlls/msvcrt/data.c @@ -32,17 +32,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); int MSVCRT___argc = 0; static int argc_expand; static int wargc_expand; -unsigned int MSVCRT_basemajor = 0;/* FIXME: */ -unsigned int MSVCRT_baseminor = 0;/* FIXME: */ -unsigned int MSVCRT_baseversion = 0; /* FIXME: */ unsigned int MSVCRT__commode = 0; unsigned int MSVCRT__fmode = 0; -unsigned int MSVCRT_osmajor = 0;/* FIXME: */ -unsigned int MSVCRT_osminor = 0;/* FIXME: */ -unsigned int MSVCRT_osmode = 0;/* FIXME: */ unsigned int MSVCRT__osver = 0; unsigned int MSVCRT__osplatform = 0; -unsigned int MSVCRT_osversion = 0; /* FIXME: */ unsigned int MSVCRT__winmajor = 0; unsigned int MSVCRT__winminor = 0; unsigned int MSVCRT__winver = 0; @@ -338,16 +331,8 @@ void msvcrt_init_args(void) MSVCRT__winminor = osvi.dwMinorVersion; MSVCRT__osver = osvi.dwBuildNumber; MSVCRT__osplatform = osvi.dwPlatformId; - MSVCRT_osversion = MSVCRT__winver; - MSVCRT_osmajor = MSVCRT__winmajor; - MSVCRT_osminor = MSVCRT__winminor; - MSVCRT_baseversion = MSVCRT__osver; - MSVCRT_baseminor = MSVCRT_baseversion & 0xFF; - MSVCRT_basemajor = (MSVCRT_baseversion >> 8) & 0xFF; - TRACE( "winver %08x winmajor %08x winminor %08x osver%08x baseversion %08x basemajor %08x baseminor %08x\n", - MSVCRT__winver, MSVCRT__winmajor, MSVCRT__winminor, MSVCRT__osver, MSVCRT_baseversion, - MSVCRT_basemajor, MSVCRT_baseminor); - TRACE( "osversion %08x osmajor %08x osminor %08x\n", MSVCRT_osversion, MSVCRT_osmajor, MSVCRT_osminor); + TRACE( "winver %08x winmajor %08x winminor %08x osver %08x\n", + MSVCRT__winver, MSVCRT__winmajor, MSVCRT__winminor, MSVCRT__osver); MSVCRT__HUGE = HUGE_VAL; MSVCRT___setlc_active = 0;