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 2014/07/14 19:05:42 UTC
git commit: TS-1475 Do not try to compile the unused
test_HttpSM_from_tunnel with clang analyzer
Repository: trafficserver
Updated Branches:
refs/heads/master 3e6bb7fb6 -> 4c31232d2
TS-1475 Do not try to compile the unused test_HttpSM_from_tunnel with clang analyzer
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4c31232d
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4c31232d
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4c31232d
Branch: refs/heads/master
Commit: 4c31232d217781ac3bc1fe5bb3515d4f991ff803
Parents: 3e6bb7f
Author: Leif Hedstrom <zw...@apache.org>
Authored: Mon Jul 14 11:04:42 2014 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Mon Jul 14 11:05:36 2014 -0600
----------------------------------------------------------------------
proxy/CoreUtils.cc | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4c31232d/proxy/CoreUtils.cc
----------------------------------------------------------------------
diff --git a/proxy/CoreUtils.cc b/proxy/CoreUtils.cc
index fe0bb53..7a2fbb3 100644
--- a/proxy/CoreUtils.cc
+++ b/proxy/CoreUtils.cc
@@ -430,6 +430,10 @@ CoreUtils::test_HdrHeap(void *arg)
// test whether a given register is an HttpSM
// if it is, call process_HttpSM on it
+//
+// This code generates errors from Clang, on hsm_test not being initialized
+// properly. Currently this is not used, so ifdef'ing out to suppress.
+#ifndef __clang_analyzer__
void
CoreUtils::test_HttpSM_from_tunnel(void *arg)
{
@@ -450,6 +454,7 @@ CoreUtils::test_HttpSM_from_tunnel(void *arg)
}
}
}
+#endif
// test whether a given register is an HttpSM
// if it is, call process_HttpSM on it