am e1324cd4: am 17151e4d: Merge "run-as: turn on -Werror"

* commit 'e1324cd4d80c897442902f6358f78b761e42d5ff':
  run-as: turn on -Werror
This commit is contained in:
Mark Salyzyn 2014-05-08 20:36:31 +00:00 committed by Android Git Automerger
commit 7d02541ae5
2 changed files with 4 additions and 6 deletions

View File

@ -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)

View File

@ -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