mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
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
2 changed files with 1 additions and 1 deletions
|
@ -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), \
|
||||||
|
|
|
@ -322,6 +322,7 @@ void SharedStringDecompressor::decompress_resource(u1* data,
|
||||||
{
|
{
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
*uncompressed_resource = tag;
|
*uncompressed_resource = tag;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue