X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Ftool%2Fmain.cpp;h=14f6b74dea1370234ff3a5443e0e6510551ddb06;hb=b5318fd86e61cb9065346a5b959809636ffe5dce;hp=59985cb001b78d55f1edef1a0d19732284bb12a0;hpb=70bcefce2ab011a11014f36fc129b473cc0bc61e;p=synfig.git diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 59985cb..14f6b74 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -2,7 +2,7 @@ /*! \file tool/main.cpp ** \brief SYNFIG Tool ** -** $Id: main.cpp,v 1.9 2005/01/23 04:41:10 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -122,7 +122,7 @@ public: } virtual bool - amount_complete(int current, int total) + amount_complete(int /*current*/, int /*total*/) { return true; } @@ -682,10 +682,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 +955,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")<