Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
1.0
-
None
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