From 68715c5ca7c148f511ac1a8136e7590602895947 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Fri, 18 Jan 2013 02:13:36 +0000 Subject: 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. --- source/blender/freestyle/intern/application/AppView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/freestyle/intern/application/AppView.cpp') diff --git a/source/blender/freestyle/intern/application/AppView.cpp b/source/blender/freestyle/intern/application/AppView.cpp index cbe0742f843..e09d958d564 100644 --- a/source/blender/freestyle/intern/application/AppView.cpp +++ b/source/blender/freestyle/intern/application/AppView.cpp @@ -105,10 +105,10 @@ AppView::AppView(const char *iName) AppView::~AppView() { - int ref = _RootNode.destroy(); + /*int ref =*/ /* UNUSED */ _RootNode.destroy(); _Light.destroy(); - ref = _p2DNode.destroy(); + /*ref =*/ /* UNUSED */ _p2DNode.destroy(); } real AppView::distanceToSceneCenter() -- cgit v1.2.3