Debugger[CDB]: Fix warning.

Change-Id: Ia844014a2e7385567e3299cc47384c60346e8cbb
Reviewed-on: http://codereview.qt.nokia.com/1445
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Friedemann Kleint
2011-07-11 16:30:58 +02:00
committed by Tobias Hunger
parent 28bdff7350
commit 7c99c0cca3

View File

@@ -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;
}