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

Ken Giusti resolved DISPATCH-2333.
----------------------------------
      Assignee: Ken Giusti
    Resolution: Fixed

> Fix assert that is always true (detected by Coverity Scan)
> ----------------------------------------------------------
>
>                 Key: DISPATCH-2333
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2333
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Policy Engine
>    Affects Versions: 1.18.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Trivial
>             Fix For: 1.19.0
>
>
> In policy.c:
> 292    uint64_t nc = n_connections;
> 293    assert (n_connections >= 0);
>  
> n_connections >= 0 is always true regardless of the values of its operands.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to