[ https://issues.apache.org/jira/browse/DISPATCH-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496205#comment-17496205 ]
ASF subversion and git services commented on DISPATCH-2333: ----------------------------------------------------------- Commit b58ce50bee634e4dd2155d19ae68ad5184eea0ed in qpid-dispatch's branch refs/heads/main from Ken Giusti [ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=b58ce50 ] DISPATCH-2333: fix incorrect assertion check This closes #1528 > 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org