diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-10-29 21:15:47 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-10-29 21:15:47 +0000 |
| commit | b0cdbc7df760f9d7eef5365a01bf1d2ab7a4b4be (patch) | |
| tree | a11f70b250bd75aa62ac198221f80baa48148a46 /src/util | |
| parent | fix code: prevent cornercase from crashing (diff) | |
| download | inkscape-b0cdbc7df760f9d7eef5365a01bf1d2ab7a4b4be.tar.gz inkscape-b0cdbc7df760f9d7eef5365a01bf1d2ab7a4b4be.zip | |
"fix" some "unused parameter" warnings
(bzr r12746)
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/units.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
