[coreboot-gerrit] Change in coreboot[master]: util/cbfstool: Don't allow fallthrough on case dstage_getHeader

Arthur Heymans (Code Review) gerrit at coreboot.org
Wed May 31 21:26:31 CEST 2017


Arthur Heymans has uploaded a new change for review. ( https://review.coreboot.org/19998 )

Change subject: util/cbfstool: Don't allow fallthrough on case dstage_getHeader
......................................................................

util/cbfstool: Don't allow fallthrough on case dstage_getHeader

Fixes building with GCC7.

Change-Id: Ib2dcc0895cd5ea149425c1ae01fc1af70e3657e7
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M util/cbfstool/lz4/lib/lz4frame.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/19998/1

diff --git a/util/cbfstool/lz4/lib/lz4frame.c b/util/cbfstool/lz4/lib/lz4frame.c
index e5458bb..546ccbb 100644
--- a/util/cbfstool/lz4/lib/lz4frame.c
+++ b/util/cbfstool/lz4/lib/lz4frame.c
@@ -1090,6 +1090,7 @@
                 dctxPtr->tmpInSize = 0;
                 dctxPtr->tmpInTarget = minFHSize;   /* minimum to attempt decode */
                 dctxPtr->dStage = dstage_storeHeader;
+		break;
             }
 
         case dstage_storeHeader:

-- 
To view, visit https://review.coreboot.org/19998
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2dcc0895cd5ea149425c1ae01fc1af70e3657e7
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>



More information about the coreboot-gerrit mailing list