[Bf-blender-cvs] [676ef58a891] master: Cleanup: Fix unused variable warning in lite build
Hans Goudey
noreply at git.blender.org
Tue Apr 27 00:03:12 CEST 2021
Commit: 676ef58a891508ce9c21a5a098d2da73b1523a61
Author: Hans Goudey
Date: Mon Apr 26 17:03:06 2021 -0500
Branches: master
https://developer.blender.org/rB676ef58a891508ce9c21a5a098d2da73b1523a61
Cleanup: Fix unused variable warning in lite build
===================================================================
M source/blender/modifiers/intern/MOD_volume_displace.cc
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_volume_displace.cc b/source/blender/modifiers/intern/MOD_volume_displace.cc
index 6a148e824fa..af4b31d6bfc 100644
--- a/source/blender/modifiers/intern/MOD_volume_displace.cc
+++ b/source/blender/modifiers/intern/MOD_volume_displace.cc
@@ -305,7 +305,7 @@ static void displace_volume(ModifierData *md, const ModifierEvalContext *ctx, Vo
}
#else
- UNUSED_VARS(md, ctx);
+ UNUSED_VARS(md, volume, ctx);
BKE_modifier_set_error(ctx->object, md, "Compiled without OpenVDB");
#endif
}
More information about the Bf-blender-cvs
mailing list