Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f07f807b authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Fix CameraParameters2::OrderedKeyedVector::removeItem tautological-compare

The tautological-compare warning/error is uncovered when
frameworks/av/include is moved from being a system header directory to a
normal include directory.

Test: m -j checkbuild
Change-Id: Ie2d6c354f11e162416a1ac5e8ea185fa62a959a0
parent 5d26ace4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ private:
        }

        ssize_t removeItem(const KeyT& key) {
            size_t vectorIdx = (size_t) indexOfKey(key);
            ssize_t vectorIdx = indexOfKey(key);

            if (vectorIdx < 0) {
                return vectorIdx;