Cleanup: Various clang-tidy warnings in python

Pull Request: https://projects.blender.org/blender/blender/pulls/133734
This commit is contained in:
Brecht Van Lommel
2025-01-26 20:08:04 +01:00
parent 2b1dc0a44e
commit 27accea53e
29 changed files with 68 additions and 96 deletions

View File

@@ -240,7 +240,7 @@ static const char *pygpu_shader_check_compatibility(blender::gpu::Batch *batch)
}
/* Check batch compatibility with shader. */
for (auto vert : blender::Span(batch->verts, ARRAY_SIZE(batch->verts))) {
for (auto *vert : blender::Span(batch->verts, ARRAY_SIZE(batch->verts))) {
if (!vert) {
continue;
}