8196988: Resolve disabled warnings for libjimage
Fixed warnings related to implicit-fallthrough gcc option Reviewed-by: psandoz, mchung
This commit is contained in:
parent
b026102163
commit
643f255fa8
@ -195,7 +195,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJIMAGE, \
|
||||
OPTIMIZATION := LOW, \
|
||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
||||
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
|
||||
DISABLED_WARNINGS_gcc := implicit-fallthrough, \
|
||||
CFLAGS_unix := -UDEBUG, \
|
||||
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
|
||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||
|
@ -322,6 +322,7 @@ void SharedStringDecompressor::decompress_resource(u1* data,
|
||||
{
|
||||
i++;
|
||||
}
|
||||
/* fall through */
|
||||
default:
|
||||
{
|
||||
*uncompressed_resource = tag;
|
||||
|
Loading…
x
Reference in New Issue
Block a user