Kaydet (Commit) 5e691dbf authored tarafından Caolán McNamara's avatar Caolán McNamara

make this a comment a coverity queller

Change-Id: I0eccec058f506be69f6c95a1a6d97be64cb734bc
üst cfb0c6d7
...@@ -569,10 +569,10 @@ void SAL_CALL rtl_uString_newFromCodePoints( ...@@ -569,10 +569,10 @@ void SAL_CALL rtl_uString_newFromCodePoints(
++n; ++n;
} }
} }
/* Builds on the assumption that sal_Int32 uses 32 bit two's complement /* coverity[dead_error_condition] - Builds on the assumption that sal_Int32
representation with wrap around (the necessary number of UTF-16 code uses 32 bit two's complement representation with wrap around (the
units will be no larger than 2 * SAL_MAX_INT32, represented as necessary number of UTF-16 code units will be no larger than 2 *
sal_Int32 -2): */ SAL_MAX_INT32, represented as sal_Int32 -2): */
if (n < 0) { if (n < 0) {
*newString = NULL; *newString = NULL;
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment