From: Carlos Lopez Date: Sun, 7 Nov 2010 18:03:50 +0000 (+0100) Subject: Avoid some warnings for unused parameter. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e363493f47683f5ddbba5886206e7765aaeb569e;p=synfig.git Avoid some warnings for unused parameter. --- diff --git a/synfig-core/src/modules/mod_bmp/mptr_bmp.cpp b/synfig-core/src/modules/mod_bmp/mptr_bmp.cpp index 26b950c..8a34da8 100644 --- a/synfig-core/src/modules/mod_bmp/mptr_bmp.cpp +++ b/synfig-core/src/modules/mod_bmp/mptr_bmp.cpp @@ -123,7 +123,7 @@ bmp_mptr::~bmp_mptr() } bool -bmp_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &renddesc, Time /*time*/, synfig::ProgressCallback *cb) +bmp_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &/*renddesc*/, Time /*time*/, synfig::ProgressCallback *cb) { FILE *file=fopen(filename.c_str(),"rb"); if(!file) diff --git a/synfig-core/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp b/synfig-core/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp index 1d7b3bb..a3522c7 100644 --- a/synfig-core/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp +++ b/synfig-core/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp @@ -258,7 +258,7 @@ ffmpeg_mptr::~ffmpeg_mptr() } bool -ffmpeg_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &renddesc, Time time, synfig::ProgressCallback *) +ffmpeg_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &/*renddesc*/, Time time, synfig::ProgressCallback *) { int i=(int)(time*fps); if(i!=cur_frame) diff --git a/synfig-core/src/modules/mod_jpeg/mptr_jpeg.cpp b/synfig-core/src/modules/mod_jpeg/mptr_jpeg.cpp index a7dd47f..863c3f3 100644 --- a/synfig-core/src/modules/mod_jpeg/mptr_jpeg.cpp +++ b/synfig-core/src/modules/mod_jpeg/mptr_jpeg.cpp @@ -249,7 +249,7 @@ jpeg_mptr::~jpeg_mptr() } bool -jpeg_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &renddesc, Time, synfig::ProgressCallback */*cb*/) +jpeg_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &/*renddesc*/, Time, synfig::ProgressCallback */*cb*/) { surface=surface_buffer; return true; diff --git a/synfig-core/src/modules/mod_openexr/mptr_openexr.cpp b/synfig-core/src/modules/mod_openexr/mptr_openexr.cpp index 27a667c..8ca6849 100644 --- a/synfig-core/src/modules/mod_openexr/mptr_openexr.cpp +++ b/synfig-core/src/modules/mod_openexr/mptr_openexr.cpp @@ -72,7 +72,7 @@ exr_mptr::~exr_mptr() } bool -exr_mptr::get_frame(synfig::Surface &out_surface, const synfig::RendDesc &renddesc, Time, synfig::ProgressCallback *cb) +exr_mptr::get_frame(synfig::Surface &out_surface, const synfig::RendDesc &/*renddesc*/, Time, synfig::ProgressCallback *cb) { try { diff --git a/synfig-core/src/modules/mod_png/mptr_png.cpp b/synfig-core/src/modules/mod_png/mptr_png.cpp index ec601b5..a436d50 100644 --- a/synfig-core/src/modules/mod_png/mptr_png.cpp +++ b/synfig-core/src/modules/mod_png/mptr_png.cpp @@ -407,7 +407,7 @@ png_mptr::~png_mptr() } bool -png_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &renddesc, Time, synfig::ProgressCallback */*cb*/) +png_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &/*renddesc*/, Time, synfig::ProgressCallback */*cb*/) { //assert(0); // shouldn't be called? surface=surface_buffer; diff --git a/synfig-core/src/modules/mod_ppm/mptr_ppm.cpp b/synfig-core/src/modules/mod_ppm/mptr_ppm.cpp index 9db3c0b..9fcec9f 100644 --- a/synfig-core/src/modules/mod_ppm/mptr_ppm.cpp +++ b/synfig-core/src/modules/mod_ppm/mptr_ppm.cpp @@ -70,7 +70,7 @@ ppm_mptr::~ppm_mptr() } bool -ppm_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &renddesc, Time, synfig::ProgressCallback *cb) +ppm_mptr::get_frame(synfig::Surface &surface, const synfig::RendDesc &/*renddesc*/, Time, synfig::ProgressCallback *cb) { SmartFILE file(fopen(filename.c_str(),"rb")); if(!file)