Prevent compiler warnings about unused parameters.
[synfig.git] / synfig-core / trunk / src / modules / mod_filter / halftone2.cpp
index 202e719..b8977a9 100644 (file)
@@ -53,7 +53,7 @@ using namespace etl;
 
 SYNFIG_LAYER_INIT(Halftone2);
 SYNFIG_LAYER_SET_NAME(Halftone2,"halftone2");
-SYNFIG_LAYER_SET_LOCAL_NAME(Halftone2,_("Halftone2"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Halftone2,_("Halftone 2"));
 SYNFIG_LAYER_SET_CATEGORY(Halftone2,_("Filters"));
 SYNFIG_LAYER_SET_VERSION(Halftone2,"0.0");
 SYNFIG_LAYER_SET_CVS_ID(Halftone2,"$Id$");
@@ -93,13 +93,13 @@ Halftone2::color_func(const Point &point, float supersample,const Color& color)c
 }
 
 inline float
-Halftone2::calc_supersample(const synfig::Point &x, float pw,float ph)const
+Halftone2::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const
 {
        return abs(pw/(halftone.size).mag());
 }
 
 synfig::Layer::Handle
-Halftone2::hit_check(synfig::Context context, const synfig::Point &point)const
+Halftone2::hit_check(synfig::Context /*context*/, const synfig::Point &/*point*/)const
 {
        return const_cast<Halftone2*>(this);
 }