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

Commit 190607bd authored by Kris Alder's avatar Kris Alder Committed by Gerrit Code Review
Browse files

Merge "AUtils.h: Removed unused variable macro usage"

parents f3685dda f30434dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ inline static const T &max(const T &a, const T &b) {

template<class T>
void ENSURE_UNSIGNED_TYPE() {
    T TYPE_MUST_BE_UNSIGNED[(T)-1 < 0 ? -1 : 0] __unused;
    T TYPE_MUST_BE_UNSIGNED[(T)-1 < 0 ? -1 : 0] __attribute__((unused));
}

// needle is in range [hayStart, hayStart + haySize)