[Bf-blender-cvs] [411345757c4] master: Cleanup: Remove unused variable.

Jeroen Bakker noreply at git.blender.org
Mon Jan 30 12:06:34 CET 2023


Commit: 411345757c490fafc9d4aab224ae5e9b137d02a5
Author: Jeroen Bakker
Date:   Mon Jan 30 11:27:23 2023 +0100
Branches: master
https://developer.blender.org/rB411345757c490fafc9d4aab224ae5e9b137d02a5

Cleanup: Remove unused variable.

Introduced in recent commit.

===================================================================

M	source/blender/gpu/metal/mtl_context.mm

===================================================================

diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm
index 2f0580a5f63..fc94a40e26d 100644
--- a/source/blender/gpu/metal/mtl_context.mm
+++ b/source/blender/gpu/metal/mtl_context.mm
@@ -1522,7 +1522,6 @@ void MTLContext::ensure_texture_bindings(
 
   @autoreleasepool {
     int compute_arg_buffer_bind_index = -1;
-    int null_index = -1;
 
     /* Argument buffers are used for samplers, when the limit of 16 is exceeded.
      * NOTE: Compute uses vertex argument for arg buffer bind index.*/



More information about the Bf-blender-cvs mailing list