8196988: Resolve disabled warnings for libjimage

Fixed warnings related to implicit-fallthrough gcc option

Reviewed-by: psandoz, mchung
This commit is contained in:
Srinivas Dama 2018-06-18 08:07:15 +05:30
parent b026102163
commit 643f255fa8
2 changed files with 1 additions and 1 deletions

View file

@ -195,7 +195,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJIMAGE, \
OPTIMIZATION := LOW, \ OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB), \ CFLAGS := $(CFLAGS_JDKLIB), \
CXXFLAGS := $(CXXFLAGS_JDKLIB), \ CXXFLAGS := $(CXXFLAGS_JDKLIB), \
DISABLED_WARNINGS_gcc := implicit-fallthrough, \
CFLAGS_unix := -UDEBUG, \ CFLAGS_unix := -UDEBUG, \
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \ LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
$(call SET_SHARED_LIBRARY_ORIGIN), \ $(call SET_SHARED_LIBRARY_ORIGIN), \

View file

@ -322,6 +322,7 @@ void SharedStringDecompressor::decompress_resource(u1* data,
{ {
i++; i++;
} }
/* fall through */
default: default:
{ {
*uncompressed_resource = tag; *uncompressed_resource = tag;