diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-07 14:02:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-07 14:27:13 +0000 |
commit | d3aa72da441a5eebdc06107b35222b7b126b9a13 (patch) | |
tree | e041b1058ef3b917d1a1ffb43815b3e340d859dc /sal/rtl/ustring.cxx | |
parent | f28d59c33513598728d72eacfde77e521e7ec056 (diff) |
coverity#1268297 Logically dead code
Change-Id: Ie9a37e7eb837abf0d2783a9a0f8c2b33a6772d33
Diffstat (limited to 'sal/rtl/ustring.cxx')
-rw-r--r-- | sal/rtl/ustring.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx index 7a342dfdbbb8..cd42e47e8345 100644 --- a/sal/rtl/ustring.cxx +++ b/sal/rtl/ustring.cxx @@ -949,8 +949,6 @@ void SAL_CALL rtl_uString_internConvert( rtl_uString ** newStr, if ( len < 256 ) { // try various optimisations sal_Int32 ulen; - if ( len < 0 ) - len = strlen( str ); if ( eTextEncoding == RTL_TEXTENCODING_ASCII_US ) { int i; |