Fix some warnings about unhandled switch cases

This commit is contained in:
Johan Manuel 2016-07-26 15:02:55 +02:00
parent cec1c48a7e
commit 8c0a050d49
3 changed files with 3 additions and 0 deletions

View file

@ -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: {}
}

View file

@ -2052,6 +2052,7 @@ Error Image::_decompress_bc() {
ht/=2;
} break;
default: {}
}
}

View file

@ -1581,6 +1581,7 @@ void Object::_clear_internal_resource_paths(const Variant &p_var) {
_clear_internal_resource_paths(d[E->get()]);
}
} break;
default: {}
}
}