Uploaded image for project: 'Qt WebBrowser'
  1. Qt WebBrowser
  2. QTWB-60

webkit-qtwe bkit-23/Source/WTF/wtf/dtoa/bignum.cc:762: suspicious increment ?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 1.0
    • General
    • None
    • All

    Description

      webkit-qtwebkit-23/Source/WTF/wtf/dtoa/bignum.cc:762:15: warning: variable 'i' is increment
      ed both in the loop header and in the loop body [-Wfor-loop-analysis]

      Source code is

      for (int i = other.used_digits_ + exponent_diff; i < used_digits_; ++i)

      { if (borrow == 0) return; Chunk difference = bigits_[i] - borrow; bigits_[i] = difference & kBigitMask; borrow = difference >> (kChunkSize - 1); ++i; }

      Looks suspicious

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes