diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-29 03:25:01 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-29 03:26:10 +0300 |
commit | ec8118a59e02260945050febf8b7c0080e8c1c4e (patch) | |
tree | d2d180a51b34d07b814e359a7e83cb6bba531925 /source/blender/blenkernel/intern/pbvh.c | |
parent | 9cfa8b945a2f24e96005223c4801497191fab281 (diff) |
Cleanup: replace UNUSED() with commented arguments
This is the conventional way of dealing with unused arguments in C++.
Also quiet enum conversion warnings.
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh.c')
-rw-r--r-- | source/blender/blenkernel/intern/pbvh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index a1de8e40fe3..5061fecbccb 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -1366,7 +1366,7 @@ static void pbvh_update_draw_buffer_cb(void *__restrict userdata, } } -void pbvh_free_draw_buffers(PBVH *pbvh, PBVHNode *node) +void pbvh_free_draw_buffers(PBVH *UNUSED(pbvh), PBVHNode *node) { if (node->draw_batches) { DRW_pbvh_node_free(node->draw_batches); |