Prevent compiler warnings about unused parameters.
[synfig.git] / synfig-core / trunk / src / modules / mod_filter / halftone3.cpp
index 3677591..87d44af 100644 (file)
@@ -53,7 +53,7 @@ using namespace etl;
 
 SYNFIG_LAYER_INIT(Halftone3);
 SYNFIG_LAYER_SET_NAME(Halftone3,"halftone3");
-SYNFIG_LAYER_SET_LOCAL_NAME(Halftone3,_("Halftone3"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Halftone3,_("Halftone 3"));
 SYNFIG_LAYER_SET_CATEGORY(Halftone3,_("Filters"));
 SYNFIG_LAYER_SET_VERSION(Halftone3,"0.0");
 SYNFIG_LAYER_SET_CVS_ID(Halftone3,"$Id$");
@@ -229,13 +229,13 @@ Halftone3::color_func(const Point &point, float supersample,const Color& in_colo
 }
 
 inline float
-Halftone3::calc_supersample(const synfig::Point &x, float pw,float ph)const
+Halftone3::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const
 {
        return abs(pw/(tone[0].size).mag());
 }
 
 synfig::Layer::Handle
-Halftone3::hit_check(synfig::Context context, const synfig::Point &point)const
+Halftone3::hit_check(synfig::Context /*context*/, const synfig::Point &/*point*/)const
 {
        return const_cast<Halftone3*>(this);
 }