From: dooglus Date: Sun, 27 Jan 2008 12:12:27 +0000 (+0000) Subject: Prevent all remaining 'unused parameter' warnings when compiling with debug enabled. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2a49ebd8450b7b8a99ded6f98b7fa2ccf0e8f956;p=synfig.git Prevent all remaining 'unused parameter' warnings when compiling with debug enabled. git-svn-id: http://svn.voria.com/code@1510 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp b/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp index e6da708..0d8cc35 100644 --- a/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp +++ b/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp @@ -257,7 +257,7 @@ magickpp_trgt::end_frame() } bool -magickpp_trgt::start_frame(synfig::ProgressCallback *callback) +magickpp_trgt::start_frame(synfig::ProgressCallback *callback __attribute__ ((unused))) { previous_buffer_pointer = start_pointer; @@ -271,7 +271,7 @@ magickpp_trgt::start_frame(synfig::ProgressCallback *callback) } Color* -magickpp_trgt::start_scanline(int scanline) +magickpp_trgt::start_scanline(int scanline __attribute__ ((unused))) { return color_buffer; } diff --git a/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp b/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp index 56f7425..5bb65f1 100644 --- a/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp @@ -189,7 +189,7 @@ ValueNode_Duplicate::count_steps(Time t)const } ValueBase -ValueNode_Duplicate::operator()(Time t)const +ValueNode_Duplicate::operator()(Time t __attribute__ ((unused)))const { return index; } @@ -207,7 +207,7 @@ ValueNode_Duplicate::get_local_name()const } bool -ValueNode_Duplicate::check_type(ValueBase::Type type) +ValueNode_Duplicate::check_type(ValueBase::Type type __attribute__ ((unused))) { // never offer this as a choice. it's used automatically by the 'Duplicate' layer. return false; diff --git a/synfig-core/trunk/src/synfig/valuenode_integer.cpp b/synfig-core/trunk/src/synfig/valuenode_integer.cpp index ab5dc20..e38625f 100644 --- a/synfig-core/trunk/src/synfig/valuenode_integer.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_integer.cpp @@ -185,7 +185,7 @@ ValueNode_Integer::get_local_name()const // don't show this to the user at the moment - maybe it's not very useful bool -ValueNode_Integer::check_type(ValueBase::Type type) +ValueNode_Integer::check_type(ValueBase::Type type __attribute__ ((unused))) { return false; // return diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp b/synfig-studio/trunk/src/gtkmm/canvasview.cpp index 561549f..71ad5ba 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp @@ -3581,7 +3581,7 @@ CanvasView::set_ext_widget(const synfig::String& x, Gtk::Widget* y) } bool -CanvasView::on_delete_event(GdkEventAny* event) +CanvasView::on_delete_event(GdkEventAny* event __attribute__ ((unused))) { close_view();