From 4304f847cb47dc0ed84547f1eaabe5121a525580 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 25 Sep 2012 21:30:25 +0000 Subject: [PATCH] [W32KNAPI] * Silence some warnings. svn path=/trunk/; revision=57387 --- rostests/apitests/w32knapi/ntuser/NtUserCallNoParam.c | 4 ++-- rostests/apitests/w32knapi/ntuser/NtUserGetClassInfo.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rostests/apitests/w32knapi/ntuser/NtUserCallNoParam.c b/rostests/apitests/w32knapi/ntuser/NtUserCallNoParam.c index c282f1db859..df253c6600f 100644 --- a/rostests/apitests/w32knapi/ntuser/NtUserCallNoParam.c +++ b/rostests/apitests/w32knapi/ntuser/NtUserCallNoParam.c @@ -50,8 +50,8 @@ Test_NoParamRoutine_DestroyCaret(PTESTINFO pti) /* 5 */ INT Test_NoParamRoutine_LoadUserApiHook(PTESTINFO pti) /* 0x1d */ { - DWORD dwRet; - dwRet = NtUserCallNoParam(_NOPARAM_ROUTINE_LOADUSERAPIHOOK); + //DWORD dwRet; + /* dwRet = */NtUserCallNoParam(_NOPARAM_ROUTINE_LOADUSERAPIHOOK); // TEST(dwRet != 0); return APISTATUS_NORMAL; diff --git a/rostests/apitests/w32knapi/ntuser/NtUserGetClassInfo.c b/rostests/apitests/w32knapi/ntuser/NtUserGetClassInfo.c index 11dad25c9ff..4665040fc47 100644 --- a/rostests/apitests/w32knapi/ntuser/NtUserGetClassInfo.c +++ b/rostests/apitests/w32knapi/ntuser/NtUserGetClassInfo.c @@ -15,7 +15,7 @@ Test_NtUserGetClassInfo(PTESTINFO pti) { WNDCLASSEXW wclex, wclex2 = {0}; UNICODE_STRING us; - PWSTR pwstr; + PWSTR pwstr = NULL; us.Length = 8; us.MaximumLength = 8;