[Bf-blender-cvs] [81d32b3] depsgraph_refactor: Depagraph: Fix for strict compiler flags in release builds
Sergey Sharybin
noreply at git.blender.org
Sat Apr 4 11:05:34 CEST 2015
Commit: 81d32b3dd346db3f077a6ac87a8efcfeba3b5876
Author: Sergey Sharybin
Date: Sat Apr 4 14:05:11 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB81d32b3dd346db3f077a6ac87a8efcfeba3b5876
Depagraph: Fix for strict compiler flags in release builds
===================================================================
M source/blender/depsgraph/intern/depsgraph_build.h
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_build.h b/source/blender/depsgraph/intern/depsgraph_build.h
index 0149640..802264f 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.h
+++ b/source/blender/depsgraph/intern/depsgraph_build.h
@@ -374,6 +374,7 @@ void DepsgraphRelationBuilder::add_relation(const TimeSourceKey &key_from,
eDepsRelation_Type type,
const char *description)
{
+ (void)type; /* Ignored in release builds. */
BLI_assert(type == DEPSREL_TYPE_TIME);
TimeSourceDepsNode *time_from = find_node(key_from);
DepsNode *node_to = find_node(key_to);
More information about the Bf-blender-cvs
mailing list