Repository: trafficserver Updated Branches: refs/heads/master 8df4d0b18 -> c3facdf6d
Fix assert to be the debug version for Coverity. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c3facdf6 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c3facdf6 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c3facdf6 Branch: refs/heads/master Commit: c3facdf6d518207243ab09089aa8f345f5a1a184 Parents: 8df4d0b Author: Alan M. Carroll <[email protected]> Authored: Tue Sep 30 16:26:13 2014 -0500 Committer: Alan M. Carroll <[email protected]> Committed: Tue Sep 30 16:26:13 2014 -0500 ---------------------------------------------------------------------- lib/ts/ink_assert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c3facdf6/lib/ts/ink_assert.h ---------------------------------------------------------------------- diff --git a/lib/ts/ink_assert.h b/lib/ts/ink_assert.h index ead610c..7e89da3 100644 --- a/lib/ts/ink_assert.h +++ b/lib/ts/ink_assert.h @@ -46,7 +46,7 @@ extern "C" inkcoreapi void _ink_assert(const char *a, const char *f, int l) TS_NORETURN; -#if defined(DEBUG) || defined(__clang_analyzer__) +#if defined(DEBUG) || defined(__clang_analyzer__) || defined(__COVERITY__) #define ink_assert(EX) ( \ (void)(likely(EX) ? (void)0 : _ink_assert(#EX, __FILE__, __LINE__))\ )
