TS-3287 Ignore this coverity error Coverity CID #1261575
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f7f3055a Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f7f3055a Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f7f3055a Branch: refs/heads/master Commit: f7f3055a22f175d9158f8a5ae473482519fcce43 Parents: 43af58d Author: Leif Hedstrom <[email protected]> Authored: Fri Jan 23 11:40:26 2015 -0700 Committer: Leif Hedstrom <[email protected]> Committed: Fri Jan 23 12:05:43 2015 -0700 ---------------------------------------------------------------------- proxy/hdrs/HdrTest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f7f3055a/proxy/hdrs/HdrTest.cc ---------------------------------------------------------------------- diff --git a/proxy/hdrs/HdrTest.cc b/proxy/hdrs/HdrTest.cc index d7186fa..eb26455 100644 --- a/proxy/hdrs/HdrTest.cc +++ b/proxy/hdrs/HdrTest.cc @@ -311,7 +311,7 @@ HdrTest::test_format_date() // (2) test a few times per day from 1/1/1970 to past 2010 - // coverity[secure_coding] + // coverity[dont_call] for (t = 0; t < 40 * 366 * (24 * 60 * 60); t += (int) (drand48() * (24 * 60 * 60))) { cftime_replacement(buffer, sizeof(buffer), "%a, %d %b %Y %T %Z", &t); t2 = mime_parse_date(buffer, buffer + (int) strlen(buffer));
