Coverity analysis defect 138208: Side effect in assertion

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • None
    • None

      Side effect in assertion

      If the assertion is turned off, the side-effect may be lost. Assertion contains an operation with a side effect
      /test/utility/file.c:298: ASSERT_SIDE_EFFECT 138208 Assignment "n = read(rfd, buf, 262144UL)" has a side effect. This code will work differently in a non-debug build.

            Assignee:
            Peter Macko
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: