1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fixing warnings generated by MSVC

Fixes #22684.
This commit is contained in:
Dualtagh Murray
2018-10-04 14:38:52 +01:00
committed by Rémi Verschelde
parent a3072aa35e
commit b902a2f2a7
27 changed files with 84 additions and 75 deletions

View File

@@ -689,7 +689,7 @@ void VisualServerCanvas::canvas_item_add_polygon(RID p_item, const Vector<Point2
if (indices.empty()) {
ERR_EXPLAIN("Bad Polygon!");
ERR_FAIL_V();
ERR_FAIL();
}
Item::CommandPolygon *polygon = memnew(Item::CommandPolygon);