Add extra break statements to quiet clang warnings.
Clang complains about code that falls through into an empty default case, so add some breaks to placate it.
This commit is contained in:
parent
606209e07d
commit
7ffa289495
6 changed files with 8 additions and 0 deletions
|
|
@ -257,6 +257,7 @@ void TParseContextBase::rValueErrorCheck(const TSourceLoc& loc, const char* op,
|
|||
case EOpVectorSwizzle:
|
||||
case EOpMatrixSwizzle:
|
||||
rValueErrorCheck(loc, op, binaryNode->getLeft());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue