mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
parent
72407a9cfb
commit
f851c4aa33
163 changed files with 776 additions and 767 deletions
|
@ -979,7 +979,6 @@ Error RenderingServer::mesh_create_surface_data_from_arrays(SurfaceData *r_surfa
|
|||
ERR_FAIL_COND_V_MSG(err != OK, ERR_INVALID_DATA, "Invalid array format for surface.");
|
||||
|
||||
Vector<uint8_t> blend_shape_data;
|
||||
uint32_t blend_shape_count = 0;
|
||||
|
||||
if (p_blend_shapes.size()) {
|
||||
uint32_t bs_format = format & RS::ARRAY_FORMAT_BLEND_SHAPE_MASK;
|
||||
|
@ -996,7 +995,6 @@ Error RenderingServer::mesh_create_surface_data_from_arrays(SurfaceData *r_surfa
|
|||
ERR_FAIL_COND_V_MSG(err2 != OK, ERR_INVALID_DATA, "Invalid blend shape array format for surface.");
|
||||
|
||||
blend_shape_data.append_array(vertex_array_shape);
|
||||
blend_shape_count++;
|
||||
}
|
||||
}
|
||||
Vector<SurfaceData::LOD> lods;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue