Michael Stefaniuc : oleaut32: 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: b32eb7b191f91de7b6dff761aaf4c7da3f21225e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b32eb7b191f91de7b6dff761aaf4c7da3f21225e

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Thu Dec  3 00:32:49 2020 +0100

oleaut32: 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>

---

 dlls/oleaut32/vartype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c
index 98b9762d896..6793de317ac 100644
--- a/dlls/oleaut32/vartype.c
+++ b/dlls/oleaut32/vartype.c
@@ -6469,7 +6469,7 @@ static BSTR VARIANT_BstrReplaceDecimal(const WCHAR * buff, LCID lcid, ULONG dwFl
   {
     WCHAR *p;
     WCHAR numbuff[256];
-    WCHAR empty[] = {'\0'};
+    WCHAR empty[] = L"";
     NUMBERFMTW minFormat;
 
     minFormat.NumDigits = 0;




More information about the wine-cvs mailing list