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