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

Commit b9f5a2b9 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

run-as: turn on -Werror

- remove an abandoned code fragment

Change-Id: I32d4ad820772685c680d200dc00ef11d102c76bd
parent a04464ad
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