diff options
author | B Stack <bgstack15@gmail.com> | 2019-05-12 16:34:13 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-05-12 16:34:13 -0400 |
commit | f43972d665c95b2148636c86a5b648e719901101 (patch) | |
tree | b873b15f50a981aacf8bb49fd646bfded2e7a73b /zen/zstring.cpp | |
parent | Merge branch '10.11' into 'master' (diff) | |
download | FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.gz FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.bz2 FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.zip |
10.12
Diffstat (limited to 'zen/zstring.cpp')
-rw-r--r-- | zen/zstring.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
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! } } - } |