Dan Kegel : shlwapi/tests: Initialize size parameter in test_SHGetShellKey.
Alexandre Julliard
julliard at winehq.org
Fri Oct 14 14:14:50 CDT 2011
Module: wine
Branch: master
Commit: 876d551911f77e6f8bb85cc2d548ac42af86d77c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=876d551911f77e6f8bb85cc2d548ac42af86d77c
Author: Dan Kegel <dank at kegel.com>
Date: Fri Oct 14 08:23:08 2011 -0700
shlwapi/tests: Initialize size parameter in test_SHGetShellKey.
---
dlls/shlwapi/tests/ordinal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shlwapi/tests/ordinal.c b/dlls/shlwapi/tests/ordinal.c
index 593307e..40ee62e 100644
--- a/dlls/shlwapi/tests/ordinal.c
+++ b/dlls/shlwapi/tests/ordinal.c
@@ -2873,6 +2873,7 @@ static void test_SHGetShellKey(void)
return;
}
+ size = sizeof(data);
hres = pSKGetValueW(SHKEY_Root_HKLM, WineTestW, NULL, NULL, &data, &size);
ok(hres == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), "hres = %x\n", hres);
More information about the wine-cvs
mailing list