From b0cdbc7df760f9d7eef5365a01bf1d2ab7a4b4be Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Tue, 29 Oct 2013 22:15:47 +0100 Subject: "fix" some "unused parameter" warnings (bzr r12746) --- src/util/units.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util/units.cpp') diff --git a/src/util/units.cpp b/src/util/units.cpp index 21f64fe72..61e7335ad 100644 --- a/src/util/units.cpp +++ b/src/util/units.cpp @@ -362,7 +362,7 @@ bool UnitTable::load(std::string const &filename) { return true; } -bool UnitTable::save(std::string const &filename) { +bool UnitTable::save(std::string const &/*filename*/) { g_warning("UnitTable::save(): not implemented"); @@ -371,7 +371,7 @@ bool UnitTable::save(std::string const &filename) { Inkscape::Util::UnitTable unit_table; -void UnitParser::on_start_element(Ctx &ctx, Glib::ustring const &name, AttrMap const &attrs) +void UnitParser::on_start_element(Ctx &/*ctx*/, Glib::ustring const &name, AttrMap const &attrs) { if (name == "unit") { // reset for next use @@ -413,7 +413,7 @@ void UnitParser::on_text(Ctx &ctx, Glib::ustring const &text) } } -void UnitParser::on_end_element(Ctx &ctx, Glib::ustring const &name) +void UnitParser::on_end_element(Ctx &/*ctx*/, Glib::ustring const &name) { if (name == "unit" && !skip) { tbl->addUnit(unit, primary); -- cgit v1.2.3