am e1324cd4: am 17151e4d: Merge "run-as: turn on -Werror"
* commit 'e1324cd4d80c897442902f6358f78b761e42d5ff': run-as: turn on -Werror
This commit is contained in:
commit
7d02541ae5
|
@ -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