[Bf-blender-cvs] [47aedb97b69] master: Silence warning in RNA when building without fluidsim.
Bastien Montagne
noreply at git.blender.org
Tue May 30 11:35:44 CEST 2017
Commit: 47aedb97b699009f6e88f46ab6fb7bc25e299fde
Author: Bastien Montagne
Date: Tue May 30 11:35:09 2017 +0200
Branches: master
https://developer.blender.org/rB47aedb97b699009f6e88f46ab6fb7bc25e299fde
Silence warning in RNA when building without fluidsim.
===================================================================
M source/blender/makesrna/intern/rna_fluidsim.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_fluidsim.c b/source/blender/makesrna/intern/rna_fluidsim.c
index 078b61ad7df..8c3984e4b29 100644
--- a/source/blender/makesrna/intern/rna_fluidsim.c
+++ b/source/blender/makesrna/intern/rna_fluidsim.c
@@ -188,6 +188,7 @@ static void rna_DomainFluidSettings_memory_estimate_get(PointerRNA *ptr, char *v
static int rna_DomainFluidSettings_memory_estimate_length(PointerRNA *ptr)
{
#ifndef WITH_MOD_FLUID
+ UNUSED_VARS(ptr);
return 0;
#else
char value[32];
More information about the Bf-blender-cvs
mailing list