You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/12/08 04:39:40 UTC

trafficserver git commit: TS-4053 Ignore coverity warning on drand48()

Repository: trafficserver
Updated Branches:
  refs/heads/master 5115a6fd5 -> 9087a4fa3


TS-4053 Ignore coverity warning on drand48()

CID 1341740


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

Branch: refs/heads/master
Commit: 9087a4fa39145e799fc66e7d7255f0341eb7d3e3
Parents: 5115a6f
Author: Leif Hedstrom <zw...@apache.org>
Authored: Mon Dec 7 08:42:46 2015 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Mon Dec 7 20:39:22 2015 -0700

----------------------------------------------------------------------
 iocore/cache/CacheTest.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9087a4fa/iocore/cache/CacheTest.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/CacheTest.cc b/iocore/cache/CacheTest.cc
index 832ac8d..6fcc4b0 100644
--- a/iocore/cache/CacheTest.cc
+++ b/iocore/cache/CacheTest.cc
@@ -557,6 +557,7 @@ test_RamCache(RegressionTest *t, RamCache *cache, const char *name, int64_t cach
   srand48(13);
   int *r = (int *)ats_malloc(sample_size * sizeof(int));
   for (int i = 0; i < sample_size; i++)
+    // coverity[dont_call]
     r[i] = get_zipf(drand48());
   data.clear();
   int misses = 0;