summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-07 20:36:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-08 12:29:29 +0000
commit5e691dbfb3b2f7803b27f35e6abeb2e0fbc02668 (patch)
tree590325a0376ede0479ee728692d1c6ace9fcd8a1 /sal
parentcfb0c6d7a3fb07fdfbbee712bf8cc3121f922e4d (diff)
make this a comment a coverity queller
Change-Id: I0eccec058f506be69f6c95a1a6d97be64cb734bc
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/ustring.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index cd42e47e8345..90e5ba14126f 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -569,10 +569,10 @@ void SAL_CALL rtl_uString_newFromCodePoints(
++n;
}
}
- /* Builds on the assumption that sal_Int32 uses 32 bit two's complement
- representation with wrap around (the necessary number of UTF-16 code
- units will be no larger than 2 * SAL_MAX_INT32, represented as
- sal_Int32 -2): */
+ /* coverity[dead_error_condition] - Builds on the assumption that sal_Int32
+ uses 32 bit two's complement representation with wrap around (the
+ necessary number of UTF-16 code units will be no larger than 2 *
+ SAL_MAX_INT32, represented as sal_Int32 -2): */
if (n < 0) {
*newString = NULL;
return;