run-as: turn on -Werror
- remove an abandoned code fragment Change-Id: I32d4ad820772685c680d200dc00ef11d102c76bd
This commit is contained in:
parent
a04464adaf
commit
b9f5a2b9a0
|
@ -1,10 +1,12 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= run-as.c package.c
|
||||
LOCAL_SRC_FILES := run-as.c package.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libselinux
|
||||
|
||||
LOCAL_MODULE:= run-as
|
||||
LOCAL_MODULE := run-as
|
||||
|
||||
LOCAL_CFLAGS := -Werror
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue