Sudheer Vinukonda created TS-3347:
-------------------------------------

             Summary: make ink_assert a no-op in release builds
                 Key: TS-3347
                 URL: https://issues.apache.org/jira/browse/TS-3347
             Project: Traffic Server
          Issue Type: Improvement
          Components: Core
            Reporter: Sudheer Vinukonda


ink_assert() is expected to be enabled only in DEBUG builds. However, the 
current definition of ink_assert() for non-DEBUG (release) builds, still 
evaluates the expression passed to it, which seems totally unnecessary. Opening 
this jira to make ink_assert() a complete no-op for non-DEBUG release builds. 
Along with the change of definition, need to scan the entire TS code to fix the 
code that relies on the expression evaluated in the ink_assert() accordingly. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to