Michael Stefaniuc : regsvr32: Use a string literal for an empty string.
Alexandre Julliard
julliard at winehq.org
Thu Dec 3 15:35:58 CST 2020
Module: wine
Branch: master
Commit: 24ac30d2a07de4ba134eeed10829ea791bf392e5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=24ac30d2a07de4ba134eeed10829ea791bf392e5
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Thu Dec 3 00:32:50 2020 +0100
regsvr32: Use a string literal for an empty string.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/regsvr32/regsvr32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c
index 885f0ff7833..ecfd95234dd 100644
--- a/programs/regsvr32/regsvr32.c
+++ b/programs/regsvr32/regsvr32.c
@@ -315,7 +315,7 @@ int __cdecl wmain(int argc, WCHAR* argv[])
BOOL Unregister = FALSE;
BOOL DllFound = FALSE;
WCHAR* wsCommandLine = NULL;
- WCHAR EmptyLine[1] = {0};
+ WCHAR EmptyLine[] = L"";
OleInitialize(NULL);
More information about the wine-cvs
mailing list