Michael Stefaniuc : cryptnet/tests: Change the scope of a variable from global to local.
Alexandre Julliard
julliard at winehq.org
Thu Oct 22 15:27:31 CDT 2020
Module: wine
Branch: master
Commit: c7c49ab57dd8d1df1cfdf93c97fa9e4c352700f2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c7c49ab57dd8d1df1cfdf93c97fa9e4c352700f2
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Thu Oct 22 12:45:59 2020 +0200
cryptnet/tests: Change the scope of a variable from global to local.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/cryptnet/tests/cryptnet.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/cryptnet/tests/cryptnet.c b/dlls/cryptnet/tests/cryptnet.c
index 0b017604c04..3eca9e43f2e 100644
--- a/dlls/cryptnet/tests/cryptnet.c
+++ b/dlls/cryptnet/tests/cryptnet.c
@@ -99,11 +99,10 @@ static void compareUrlArray(const CRYPT_URL_ARRAY *expected,
}
}
-static WCHAR url[] =
- { 'h','t','t','p',':','/','/','w','i','n','e','h','q','.','o','r','g',0 };
static void test_getObjectUrl(void)
{
+ static WCHAR url[] = L"http://winehq.org";
BOOL ret;
DWORD urlArraySize = 0, infoSize = 0;
PCCERT_CONTEXT cert;
More information about the wine-cvs
mailing list