diff options
| author | Johan Manuel | 2016-07-26 15:02:55 +0200 |
|---|---|---|
| committer | Johan Manuel | 2016-08-13 13:21:35 +0200 |
| commit | 8c0a050d49fdc7d922f6b854f0a11ae4bdf1462e (patch) | |
| tree | d7eabd8589c53b6710ca7f0a70b120d3db21388c /bin/tests | |
| parent | cec1c48a7e7bb9bdc2c6829fba9e269a97d1c8bc (diff) | |
| download | godot-8c0a050d49fdc7d922f6b854f0a11ae4bdf1462e.tar.gz godot-8c0a050d49fdc7d922f6b854f0a11ae4bdf1462e.tar.zst godot-8c0a050d49fdc7d922f6b854f0a11ae4bdf1462e.zip | |
Fix some warnings about unhandled switch cases
Diffstat (limited to 'bin/tests')
| -rw-r--r-- | bin/tests/test_gdscript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/tests/test_gdscript.cpp b/bin/tests/test_gdscript.cpp index 4457d70b3..43d65f782 100644 --- a/bin/tests/test_gdscript.cpp +++ b/bin/tests/test_gdscript.cpp @@ -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: {} } |
