Michael Stefaniuc : xmllite: Use a string literal for an empty string.

Alexandre Julliard julliard at winehq.org
Fri Dec 4 14:36:02 CST 2020


Module: wine
Branch: master
Commit: c3aa9defbb4223a0115ec1315e42628bb5c613f8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c3aa9defbb4223a0115ec1315e42628bb5c613f8

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

xmllite: Use a string literal for an empty string.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c
index a463934202a..4793b128bae 100644
--- a/dlls/xmllite/reader.c
+++ b/dlls/xmllite/reader.c
@@ -210,7 +210,7 @@ typedef struct
     UINT   start; /* input position where value starts */
 } strval;
 
-static WCHAR emptyW[] = {0};
+static WCHAR emptyW[] = L"";
 static WCHAR xmlW[] = L"xml";
 static WCHAR xmlnsW[] = L"xmlns";
 static const strval strval_empty = { (WCHAR *)emptyW, 0 };




More information about the wine-cvs mailing list