mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
GCC7 fallthrough.
This commit is contained in:
@@ -1279,12 +1279,12 @@ namespace bgfx
|
||||
_instruction.numOperands = info.numOperands;
|
||||
switch (info.numOperands)
|
||||
{
|
||||
case 6: size += read(_reader, _instruction.operand[currOp++], _err);
|
||||
case 5: size += read(_reader, _instruction.operand[currOp++], _err);
|
||||
case 4: size += read(_reader, _instruction.operand[currOp++], _err);
|
||||
case 3: size += read(_reader, _instruction.operand[currOp++], _err);
|
||||
case 2: size += read(_reader, _instruction.operand[currOp++], _err);
|
||||
case 1: size += read(_reader, _instruction.operand[currOp++], _err);
|
||||
case 6: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
|
||||
case 5: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
|
||||
case 4: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
|
||||
case 3: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
|
||||
case 2: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
|
||||
case 1: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
|
||||
case 0:
|
||||
if (0 < info.numValues)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user