diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-12-08 20:58:49 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-12-09 10:17:53 +0200 |
commit | 644f73966002589c36d779fa33b9524a451f56e0 (patch) | |
tree | 58b5f8b90e48771dd211a39a8aeba231d6483475 /scene/resources/surface_tool.cpp | |
parent | 90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (diff) | |
download | redot-engine-644f73966002589c36d779fa33b9524a451f56e0.tar.gz |
Static analyzer fixes:
Removes unused code in OS.
Fixes return types.
Fixes few typos.
Diffstat (limited to 'scene/resources/surface_tool.cpp')
-rw-r--r-- | scene/resources/surface_tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/surface_tool.cpp b/scene/resources/surface_tool.cpp index 3166067573..7899627048 100644 --- a/scene/resources/surface_tool.cpp +++ b/scene/resources/surface_tool.cpp @@ -74,7 +74,7 @@ bool SurfaceTool::Vertex::operator==(const Vertex &p_vertex) const { } } - for (int i = 0; i < RS::ARRAY_CUSTOM_MAX; i++) { + for (int i = 0; i < RS::ARRAY_CUSTOM_COUNT; i++) { if (custom[i] != p_vertex.custom[i]) { return false; } |