Fix some warnings about unhandled switch cases
This commit is contained in:
parent
cec1c48a7e
commit
8c0a050d49
3 changed files with 3 additions and 0 deletions
|
@ -222,6 +222,7 @@ static String _parser_expr(const GDParser::Node *p_expr) {
|
|||
case GDParser::OperatorNode::OP_BIT_AND: { txt=_parser_expr(c_node->arguments[0])+"&"+_parser_expr(c_node->arguments[1]); } break;;
|
||||
case GDParser::OperatorNode::OP_BIT_OR: { txt=_parser_expr(c_node->arguments[0])+"|"+_parser_expr(c_node->arguments[1]); } break;
|
||||
case GDParser::OperatorNode::OP_BIT_XOR: { txt=_parser_expr(c_node->arguments[0])+"^"+_parser_expr(c_node->arguments[1]); } break;
|
||||
default: {}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -2052,6 +2052,7 @@ Error Image::_decompress_bc() {
|
|||
ht/=2;
|
||||
|
||||
} break;
|
||||
default: {}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1581,6 +1581,7 @@ void Object::_clear_internal_resource_paths(const Variant &p_var) {
|
|||
_clear_internal_resource_paths(d[E->get()]);
|
||||
}
|
||||
} break;
|
||||
default: {}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue