Remove a dead function

This commit is contained in:
Ben Payne 2015-01-20 17:56:11 -05:00
parent 7613fa0375
commit 2cc4801974
2 changed files with 0 additions and 19 deletions

View file

@ -508,21 +508,6 @@ U32 dStrlen(const UTF32 *unistring)
return i;
}
//-----------------------------------------------------------------------------
U32 dStrncmp(const UTF16* unistring1, const UTF16* unistring2, U32 len)
{
UTF16 c1, c2;
for(U32 i = 0; i<len; i++)
{
c1 = *unistring1++;
c2 = *unistring2++;
if(c1 < c2) return -1;
if(c1 > c2) return 1;
if(!c1) return 0;
}
return 0;
}
//-----------------------------------------------------------------------------
const UTF16* dStrrchr(const UTF16* unistring, U32 c)

View file

@ -117,10 +117,6 @@ U32 oneUTF32toUTF8( const UTF32 codepoint, UTF8 *threeByteCodeunitBuf);
U32 dStrlen(const UTF16 *unistring);
U32 dStrlen(const UTF32 *unistring);
//-----------------------------------------------------------------------------
/// Comparing unicode strings
U32 dStrncmp(const UTF16* unistring1, const UTF16* unistring2, U32 len);
//-----------------------------------------------------------------------------
/// Scanning for characters in unicode strings
UTF16* dStrrchr(UTF16* unistring, U32 c);