Commit 7c99c0cc authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Tobias Hunger
Browse files

Debugger[CDB]: Fix warning.

Change-Id: Ia844014a2e7385567e3299cc47384c60346e8cbb
Reviewed-on: http://codereview.qt.nokia.com/1445

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 28bdff73
......@@ -1646,7 +1646,7 @@ static inline quint64 findClosestFunctionAddress(const QList<quint64> &addresses
for (int i = 0; i < size; i++) {
if (addresses.at(i) <= needle) {
const quint64 offset = needle - addresses.at(i);
if (offset < offset) {
if (offset < closestOffset) {
closestOffset = offset;
closestIndex = i;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment