[
https://issues.apache.org/jira/browse/DISPATCH-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496206#comment-17496206
]
ASF GitHub Bot commented on DISPATCH-2333:
------------------------------------------
asfgit closed pull request #1528:
URL: https://github.com/apache/qpid-dispatch/pull/1528
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]