From 86e28b67ceaf4dec8da514e3df67316cbc14feb4 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 20 Apr 2024 17:34:42 +0300 Subject: [PATCH] [RTL] actctx.c: Remove unused stuff that isn't in wine --- sdk/lib/rtl/actctx.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sdk/lib/rtl/actctx.c b/sdk/lib/rtl/actctx.c index 2a943ac11e1..93db5975d6a 100644 --- a/sdk/lib/rtl/actctx.c +++ b/sdk/lib/rtl/actctx.c @@ -759,9 +759,6 @@ static const struct olemisc_entry olemisc_values[] = }; static const WCHAR g_xmlW[] = {'?','x','m','l',0}; -static const WCHAR manifestv1W[] = {'u','r','n',':','s','c','h','e','m','a','s','-','m','i','c','r','o','s','o','f','t','-','c','o','m',':','a','s','m','.','v','1',0}; -static const WCHAR manifestv2W[] = {'u','r','n',':','s','c','h','e','m','a','s','-','m','i','c','r','o','s','o','f','t','-','c','o','m',':','a','s','m','.','v','2',0}; -static const WCHAR manifestv3W[] = {'u','r','n',':','s','c','h','e','m','a','s','-','m','i','c','r','o','s','o','f','t','-','c','o','m',':','a','s','m','.','v','3',0}; static const WCHAR dotManifestW[] = {'.','m','a','n','i','f','e','s','t',0}; static const WCHAR version_formatW[] = {'%','u','.','%','u','.','%','u','.','%','u',0}; @@ -802,12 +799,6 @@ static inline BOOL xmlstr_cmpi(const xmlstr_t* xmlstr, const WCHAR *str) return !strncmpiW(xmlstr->ptr, str, xmlstr->len) && !str[xmlstr->len]; } -static inline BOOL xmlstr_cmp_end(const xmlstr_t* xmlstr, const WCHAR *str) -{ - return (xmlstr->len && xmlstr->ptr[0] == '/' && - !strncmpW(xmlstr->ptr + 1, str, xmlstr->len - 1) && !str[xmlstr->len - 1]); -} - static inline BOOL xml_attr_cmp(const struct xml_attr* attr, const WCHAR *str) { return xmlstr_cmp( &attr->name, str );