diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2022-05-27 14:00:19 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-05-27 14:01:01 +0300 |
commit | abf8750dbc128437e725aa51a09441b01dd6fd60 (patch) | |
tree | 69f401c25c968830299fdf6d070e6da20dd01b0f /intern/cycles/blender | |
parent | 5b40c48f8596e97ba8b6ead184634391edd8b1c5 (diff) |
Cleanup: Cycles, fix "parameter unused" warning
Fix "parameter unused" warning that shows up when building without NanoVDB.
No functional changes.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/volume.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/blender/volume.cpp b/intern/cycles/blender/volume.cpp index a9a2c474f40..61b2f9ee276 100644 --- a/intern/cycles/blender/volume.cpp +++ b/intern/cycles/blender/volume.cpp @@ -257,6 +257,8 @@ class BlenderVolumeLoader : public VDBImageLoader { precision = 0; break; } +#else + (void)precision_; #endif } |