[PATCH] msxml3: Fixed two const table declarations (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Apr 2 02:25:18 CDT 2011
Hi,
double const was useless, move behind *. CID 4890, 4889
Ciao, Marcus
---
dlls/msxml3/schema.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c
index c13bc27..c8ce471 100644
--- a/dlls/msxml3/schema.c
+++ b/dlls/msxml3/schema.c
@@ -387,7 +387,7 @@ static DWORD dt_hash_bstr(OLECHAR const* bstr, int len /* calculated if -1 */)
return hval;
}
-static const xmlChar const* DT_string_table[DT__N_TYPES] =
+static const xmlChar *const DT_string_table[DT__N_TYPES] =
{
DT_bin_base64,
DT_bin_hex,
@@ -427,7 +427,7 @@ static const xmlChar const* DT_string_table[DT__N_TYPES] =
DT_uuid
};
-static const WCHAR const* DT_wstring_table[DT__N_TYPES] =
+static const WCHAR *const DT_wstring_table[DT__N_TYPES] =
{
wDT_bin_base64,
wDT_bin_hex,
--
1.7.3.4
More information about the wine-patches
mailing list