From: Etaash Mathamsetty etaash.mathamsetty@gmail.com
--- dlls/twinapi.appcore/tests/twinapi.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/twinapi.appcore/tests/twinapi.c b/dlls/twinapi.appcore/tests/twinapi.c index 5ee5c45fc91..e86281b895e 100644 --- a/dlls/twinapi.appcore/tests/twinapi.c +++ b/dlls/twinapi.appcore/tests/twinapi.c @@ -164,6 +164,7 @@ static void test_AnalyticsVersionInfo(void) WindowsDeleteString( str ); WindowsDeleteString( expect_str );
+ size = sizeof(revision); if (RegGetValueW( HKEY_LOCAL_MACHINE, L"Software\Microsoft\Windows NT\CurrentVersion", L"UBR", RRF_RT_REG_DWORD, NULL, &revision, &size )) revision = 0;