X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Ftool%2Fmain.cpp;h=d74f3cf5268a490b4363e45aaf9f2e0318dfc196;hb=93e30e79edac062b89bc904ea39e66e51da4fe34;hp=412a5ba82fb4e50eac89d7ec7802be36d7d2cea1;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 412a5ba..d74f3cf 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -122,7 +123,7 @@ public: } virtual bool - amount_complete(int current, int total) + amount_complete(int /*current*/, int /*total*/) { return true; } @@ -682,10 +683,10 @@ int extract_RendDesc(arg_list_t &arg_list,RendDesc &desc) else if(*iter=="-g") { synfig::warning("Gamma argument is currently ignored"); - //arg_list.erase(iter); - //iter=next++; + arg_list.erase(iter); + iter=next++; //desc.set_gamma(Gamma(atof(iter->c_str()))); - //arg_list.erase(iter); + arg_list.erase(iter); } } if(w&&h) @@ -955,19 +956,14 @@ int main(int argc, char *argv[]) // If the target type is not yet defined, // try to figure it out from the outfile. if(target_name.empty() && !job_list.front().outfilename.empty()) - try { VERBOSE_OUT(3)<<_("Target name undefined, attempting to figure it out")<