tidying: coverity issues
[exim.git] / src / src / string.c
index d7478721398a17abff43fb04fcbb4d7fc284d755..4ef6a37736797261f96b1d6e98badaef799fb8ca 100644 (file)
@@ -1087,8 +1087,8 @@ Returns:   pointer to the start of the string, changed if copied for expansion.
            because string_cat() is often called multiple times to build up a
            string - there's no point adding the NUL till the end.
 
-coverity[+alloc]
 */
+/* coverity[+alloc] */
 
 uschar *
 string_cat(uschar *string, int *size, int *ptr, const uschar *s, int count)
@@ -1141,7 +1141,7 @@ common use is a null string and zero size and pointer, on first use for a
 string being built. The "if" above then allocates, but Coverity assume that
 the "if" might not happen and whines for a null-deref done by the memcpy(). */
 
-/* coverity[var_deref_op] */
+/* coverity[deref_parm_field_in_call] */
 memcpy(string + p, s, count);
 *ptr = p + count;
 return string;