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/stroke/AdvancedFunctions1D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/stroke/AdvancedFunctions1D.cpp') diff --git a/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.cpp b/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.cpp index f757f6ced82..2df4d19195e 100644 --- a/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.cpp +++ b/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.cpp @@ -124,7 +124,7 @@ int GetDirectionalViewMapDensityF1D::operator()(Interface1D& inter) int GetCompleteViewMapDensityF1D::operator()(Interface1D& inter) { //soc unsigned size; - Id id = inter.getId(); + /* Id id = inter.getId(); */ /* UNUSED */ result = integrate(_fun, inter.pointsBegin(_sampling), inter.pointsEnd(_sampling), _integration); return 0; } -- cgit v1.2.3