From f43972d665c95b2148636c86a5b648e719901101 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 12 May 2019 16:34:13 -0400 Subject: 10.12 --- zen/zstring.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'zen/zstring.cpp') diff --git a/zen/zstring.cpp b/zen/zstring.cpp index 62a0caef..3b33a21b 100644 --- a/zen/zstring.cpp +++ b/zen/zstring.cpp @@ -38,9 +38,8 @@ Zstring makeUpperCopy(const Zstring& str) return output; } - catch (const SysError& e) + catch (SysError&) { - (void)e; assert(false); return str; } @@ -64,9 +63,8 @@ Zstring getUnicodeNormalForm(const Zstring& str) return outStr; } - catch (const SysError& e) + catch (SysError&) { - (void)e; assert(false); return str; } @@ -102,7 +100,7 @@ Zstring replaceCpyAsciiNoCase(const Zstring& str, const Zstring& oldTerm, const /* -MSDN "Handling Sorting in Your Applications": https://msdn.microsoft.com/en-us/library/windows/desktop/dd318144 +https://docs.microsoft.com/de-de/windows/desktop/Intl/handling-sorting-in-your-applications Perf test: compare strings 10 mio times; 64 bit build ----------------------------------------------------- @@ -160,7 +158,6 @@ int compareNoCaseUtf8(const char* lhs, size_t lhsLen, const char* rhs, size_t rh //unsigned underflow is well-defined! } } - } -- cgit