Skip to content

Commit

Permalink
Don't use deprecated -Wunreachable-code
Browse files Browse the repository at this point in the history
  • Loading branch information
rovo89 committed Jun 24, 2016
1 parent d5a4dad commit 199391b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ LOCAL_SHARED_LIBRARIES := \
libandroid_runtime \
libdl

LOCAL_CFLAGS += -Wall -Werror -Wextra -Wunused -Wunreachable-code
LOCAL_CFLAGS += -Wall -Werror -Wextra -Wunused
LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)

ifeq (1,$(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 17)))
Expand All @@ -46,7 +46,7 @@ LOCAL_MODULE := xposed
LOCAL_MODULE_TAGS := optional
LOCAL_STRIP_MODULE := keep_symbols

# Always build both architecture (if applicable)
# Always build both architectures (if applicable)
ifeq ($(TARGET_IS_64_BIT),true)
$(LOCAL_MODULE): $(LOCAL_MODULE)$(TARGET_2ND_ARCH_MODULE_SUFFIX)
endif
Expand Down

0 comments on commit 199391b

Please sign in to comment.