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

Commit 13996341 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove warnings in Rect.h"

parents eebbf2e3 3f008454
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -44,13 +44,9 @@ public:
    template <typename T>
    inline Rect(T w, T h) {
        if (w > INT32_MAX) {
            ALOG(LOG_WARN, "Rect",
                    "Width %u too large for Rect class, clamping", w);
            w = INT32_MAX;
        }
        if (h > INT32_MAX) {
            ALOG(LOG_WARN, "Rect",
                    "Height %u too large for Rect class, clamping", h);
            h = INT32_MAX;
        }
        left = top = 0;