]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Mark a behavior detected by Coverity as defect as intentional
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 14 Jan 2014 17:18:08 +0000 (18:18 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 14 Jan 2014 17:18:08 +0000 (18:18 +0100)
src/SBuf.cc

index 0951533131df50ddc81b11dbbef7e645439be664..635d806903287501ea067cc15a8b3495f246acfc 100644 (file)
@@ -237,6 +237,7 @@ SBuf::append(const char * S, size_type Ssize)
 {
     if (S == NULL)
         return *this;
+    // coverity[access_dbuff_in_call]
     if (Ssize == npos)
         Ssize = strlen(S);
     debugs(24, 7, "from c-string to id " << id);