Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2333

Fix assert that is always true (detected by Coverity Scan)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.18.0
    • 1.19.0
    • Policy Engine
    • None

    Description

      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.

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: