X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fmain.cpp;h=e1977e04e54ebce4fff006bf8bc4763dd8d7a0cd;hb=b9294592ee39ec8fcc0057b97fe4a198b7fbd196;hp=6a532ea7feb2f9afb9630eb94fbe05c120cf89b8;hpb=10f18145d6dfe8bd59964e109d4f386dbb5e1550;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/main.cpp b/synfig-core/trunk/src/synfig/main.cpp index 6a532ea..e1977e0 100644 --- a/synfig-core/trunk/src/synfig/main.cpp +++ b/synfig-core/trunk/src/synfig/main.cpp @@ -147,7 +147,7 @@ synfig::check_version_(int version,int vec_size, int color_size,int canvas_size, return ret; } -static void broken_pipe_signal (int sig) { +static void broken_pipe_signal (int /*sig*/) { synfig::warning("Broken Pipe..."); } @@ -373,25 +373,13 @@ synfig::Main::~Main() Importer::subsys_stop(); Target::subsys_stop(); Layer::subsys_stop(); - - /*! \fixme For some reason, uncommenting the next - ** line will cause things to crash. This needs to be - ** looked into at some point. */ - //Module::subsys_stop(); + Module::subsys_stop(); #if defined(HAVE_SIGNAL_H) && defined(SIGPIPE) signal(SIGPIPE, SIG_DFL); #endif } - - - - - - - - void synfig::error(const char *format,...) {