mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Silence clang "enumeration value not handled in switch" warnings. No bug#, rs=sfink on IRC.
This commit is contained in:
parent
1b7eefe30c
commit
6e770fea9f
@ -1000,6 +1000,7 @@ BytecodeEmitter::isAliasedName(ParseNode *pn)
|
||||
return script->varIsAliased(pn->pn_cookie.slot());
|
||||
case Definition::PLACEHOLDER:
|
||||
case Definition::NAMED_LAMBDA:
|
||||
case Definition::MISSING:
|
||||
JS_NOT_REACHED("unexpected dn->kind");
|
||||
}
|
||||
return false;
|
||||
@ -1343,6 +1344,9 @@ BindNameToSlotHelper(JSContext *cx, BytecodeEmitter *bce, ParseNode *pn)
|
||||
|
||||
case Definition::PLACEHOLDER:
|
||||
return true;
|
||||
|
||||
case Definition::MISSING:
|
||||
JS_NOT_REACHED("missing");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user