Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-01-18 06:13:36 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-01-18 06:13:36 +0400
commit68715c5ca7c148f511ac1a8136e7590602895947 (patch)
treeddaf2b0eb4035e799bbc2e43ec5f1f13309e8387 /source/blender/freestyle/intern/scene_graph
parent94ae0232b0337ab70cecaef03cd845887cd36eaa (diff)
A patch set from Bastien Montagne (thanks!) for silencing build warnings (from gcc 4.7),
mostly by commenting out unused variables, or using the BLI's SET_UINT_IN_POINTER macro.
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph')
-rw-r--r--source/blender/freestyle/intern/scene_graph/NodeGroup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp b/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp
index 5426c60d3e1..3ac9cbbcbdc 100644
--- a/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp
+++ b/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp
@@ -96,14 +96,14 @@ void NodeGroup::DetachChildren()
void NodeGroup::DetachChild(Node *iChild)
{
- int found = 0;
+ /* int found = 0; */ /* UNUSED */
vector<Node*>::iterator node;
for (node = _Children.begin(); node != _Children.end(); ++node) {
if ((*node) == iChild) {
(*node)->release();
_Children.erase(node);
- found = 1;
+ /* found = 1; */ /* UNUSED */
break;
}
}