Skip to content

Commit 51cb062

Browse files
committed
Remove unused variable
1 parent 8c1bdd2 commit 51cb062

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

backends/gpu/metal/sources/pipeline.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,8 @@ void kore_metal_render_pipeline_init(kore_metal_device *device, kore_metal_rende
190190

191191
MTLVertexDescriptor *vertex_descriptor = [[MTLVertexDescriptor alloc] init];
192192

193-
uint32_t attributes_count __attribute__((unused)) = 0;
194-
195193
uint32_t bindings_count = 0;
196194
for (int i = 0; i < parameters->vertex.buffers_count; ++i) {
197-
attributes_count += (uint32_t)parameters->vertex.buffers[i].attributes_count;
198195
++bindings_count;
199196
}
200197

0 commit comments

Comments
 (0)