You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2015/05/26 23:25:20 UTC

[jira] [Updated] (TS-3347) make ink_assert a no-op in release builds

     [ https://issues.apache.org/jira/browse/TS-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-3347:
------------------------------
    Assignee: Alan M. Carroll

> 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
>            Assignee: Alan M. Carroll
>             Fix For: 6.0.0
>
>
> 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)