Module: wine Branch: master Commit: c3aa9defbb4223a0115ec1315e42628bb5c613f8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=c3aa9defbb4223a0115ec1315...
Author: Michael Stefaniuc mstefani@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@winehq.org Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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 };