coreboot-utils/do-explicit-fallthrough.patch

14 lines
619 B
Diff
Raw Normal View History

Index: coreboot-4.5/util/cbfstool/lz4/lib/lz4frame.c
===================================================================
--- coreboot-4.5.orig/util/cbfstool/lz4/lib/lz4frame.c
+++ coreboot-4.5/util/cbfstool/lz4/lib/lz4frame.c
@@ -1091,7 +1091,7 @@ size_t LZ4F_decompress(LZ4F_decompressio
dctxPtr->tmpInTarget = minFHSize; /* minimum to attempt decode */
dctxPtr->dStage = dstage_storeHeader;
}
-
+ __attribute__ ((fallthrough));
case dstage_storeHeader:
{
size_t sizeToCopy = dctxPtr->tmpInTarget - dctxPtr->tmpInSize;