[Bf-blender-cvs] [f8f8edbe1a6] master: Cleanup: unused argument warning

Campbell Barton noreply at git.blender.org
Wed Apr 20 02:47:45 CEST 2022


Commit: f8f8edbe1a624e3c06b5068435368d122f3b64e5
Author: Campbell Barton
Date:   Wed Apr 20 08:53:04 2022 +1000
Branches: master
https://developer.blender.org/rBf8f8edbe1a624e3c06b5068435368d122f3b64e5

Cleanup: unused argument warning

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

M	source/blender/gpu/intern/gpu_shader_create_info.hh

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

diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh
index 8635d261f5f..3d37da911c5 100644
--- a/source/blender/gpu/intern/gpu_shader_create_info.hh
+++ b/source/blender/gpu/intern/gpu_shader_create_info.hh
@@ -629,6 +629,7 @@ struct ShaderCreateInfo {
     res.sampler.name = name;
     /* Produces asan errors for the moment. */
     // res.sampler.sampler = sampler;
+    UNUSED_VARS(sampler);
     ((freq == Frequency::PASS) ? pass_resources_ : batch_resources_).append(res);
     interface_names_size_ += name.size() + 1;
     return *(Self *)this;



More information about the Bf-blender-cvs mailing list