[PATCH] regsvr32: Use a string literal for an empty string.
Michael Stefaniuc
mstefani at winehq.org
Wed Dec 2 17:32:50 CST 2020
Signed-off-by: Michael Stefaniuc <mstefani 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);
--
2.26.2
More information about the wine-devel
mailing list