riched20: ME_StrDup() is not used anymore so remove it.

Francois Gouget fgouget at free.fr
Wed Apr 3 09:07:04 CDT 2013


---

It's been unused for at least a month so hopefully it's not just about 
to get used again.

 dlls/riched20/editor.h |    1 -
 dlls/riched20/string.c |    5 -----
 2 files changed, 6 deletions(-)

diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h
index 95818cd..f7cac1f 100644
--- a/dlls/riched20/editor.h
+++ b/dlls/riched20/editor.h
@@ -100,7 +100,6 @@ const char *ME_GetDITypeName(ME_DIType type) DECLSPEC_HIDDEN;
 /* string.c */
 ME_String *ME_MakeStringN(LPCWSTR szText, int nMaxChars) DECLSPEC_HIDDEN;
 ME_String *ME_MakeStringR(WCHAR cRepeat, int nMaxChars) DECLSPEC_HIDDEN;
-ME_String *ME_StrDup(const ME_String *s) DECLSPEC_HIDDEN;
 void ME_DestroyString(ME_String *s) DECLSPEC_HIDDEN;
 BOOL ME_AppendString(ME_String *s, const WCHAR *append, int len) DECLSPEC_HIDDEN;
 ME_String *ME_VSplitString(ME_String *orig, int nVPos) DECLSPEC_HIDDEN;
diff --git a/dlls/riched20/string.c b/dlls/riched20/string.c
index ce66af5..6d7d222 100644
--- a/dlls/riched20/string.c
+++ b/dlls/riched20/string.c
@@ -59,11 +59,6 @@ ME_String *ME_MakeStringR(WCHAR cRepeat, int nMaxChars)
   return s;
 }
 
-ME_String *ME_StrDup(const ME_String *s)
-{
-  return ME_MakeStringN(s->szData, s->nLen);
-}
-
 void ME_DestroyString(ME_String *s)
 {
   if (!s) return;
-- 
1.7.10.4




More information about the wine-patches mailing list