trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [2/6] trafficserver git commit: TS-3287 Mark this is false positive
Date Fri, 23 Jan 2015 19:12:26 GMT
TS-3287 Mark this is false positive

Coverity CID #1261574


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/43af58d0
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/43af58d0
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/43af58d0

Branch: refs/heads/master
Commit: 43af58d0a45a677b8c1a5f5b7ca2052a0b6a2651
Parents: 1d19318
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Fri Jan 23 11:36:20 2015 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Fri Jan 23 12:05:43 2015 -0700

----------------------------------------------------------------------
 plugins/tcpinfo/tcpinfo.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/43af58d0/plugins/tcpinfo/tcpinfo.cc
----------------------------------------------------------------------
diff --git a/plugins/tcpinfo/tcpinfo.cc b/plugins/tcpinfo/tcpinfo.cc
index 1937eed..6afdda8 100644
--- a/plugins/tcpinfo/tcpinfo.cc
+++ b/plugins/tcpinfo/tcpinfo.cc
@@ -238,6 +238,7 @@ tcp_info_hook(TSCont contp, TSEvent event, void *edata)
 
   // no need to run rand if we are always going log (100%)
   if (config->sample < 1000) {
+    // coverity[dont_call]
     random = rand() % 1000;
     TSDebug("tcpinfo", "random: %d, config->sample: %d", random, config->sample);
   }


Mime
View raw message