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

Commit 17151e4d authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Gerrit Code Review
Browse files

Merge "run-as: turn on -Werror"

parents 9318e4d9 b9f5a2b9
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -7,4 +7,6 @@ LOCAL_SHARED_LIBRARIES := libselinux

LOCAL_MODULE := run-as

LOCAL_CFLAGS := -Werror

include $(BUILD_EXECUTABLE)
+0 −4
Original line number Diff line number Diff line
@@ -408,10 +408,6 @@ parse_positive_decimal(const char** pp, const char* end)
        value = -1;
    }
    return value;

BAD:
    *pp = p;
    return -1;
}

/* Read the system's package database and extract information about