From 1dbdf191dc5773b9a6fc165a81ddb8be39273b94 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 6 Jun 2008 21:24:35 +0000 Subject: [PATCH] remove another unnecessary memcpy() of string contents to wxStringBufferLength git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/uri.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/uri.cpp b/src/common/uri.cpp index 9b2f5503d3..7ddc18d1dd 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -697,10 +697,6 @@ const wxChar* wxURI::ParsePath(const wxChar* uri, bool bReference, bool bNormali if (bNormalize) { wxStringBufferLength theBuffer(m_path, m_path.length() + 1); -#if wxUSE_STL || wxUSE_UNICODE_UTF8 - // FIXME-UTF8: have some wxReadWriteStringBuffer instead? - wxTmemcpy(theBuffer, m_path.c_str(), m_path.length()+1); -#endif Normalize(theBuffer); theBuffer.SetLength(wxStrlen(theBuffer)); } -- 2.45.2