cid#318907 silence Uncaught exception
silence various of these in tests and utilities Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I4fcc95b1b5d5c95e5ac40782550f95c08a3467bdpull/7129/head
parent
e0b70657fa
commit
e3cfc935ff
|
@ -251,6 +251,7 @@ struct Client : public Poco::Util::Application
|
|||
}
|
||||
|
||||
public:
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
int main(const std::vector<std::string>& args) override
|
||||
{
|
||||
EnableHttps = (args.size() > 0 && args[0] == "ssl");
|
||||
|
@ -278,6 +279,7 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
POCO_APP_MAIN(Client)
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -76,6 +76,7 @@ bool filterTests(CPPUNIT_NS::TestRunner& runner, CPPUNIT_NS::Test* testRegistry,
|
|||
|
||||
static bool IsDebugrun = false;
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
bool verbose = false;
|
||||
|
|
|
@ -243,6 +243,7 @@ void Config::handleOption(const std::string& optionName, const std::string& opti
|
|||
}
|
||||
}
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
int Config::main(const std::vector<std::string>& args)
|
||||
{
|
||||
if (args.empty())
|
||||
|
@ -504,6 +505,7 @@ int Config::main(const std::vector<std::string>& args)
|
|||
return retval;
|
||||
}
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
POCO_APP_MAIN(Config);
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -240,6 +240,7 @@ namespace Util
|
|||
}
|
||||
}
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
POCO_APP_MAIN(Connect)
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -45,6 +45,7 @@ class LOKitClient: public Application
|
|||
{
|
||||
public:
|
||||
protected:
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
int main(const std::vector<std::string>& args) override
|
||||
{
|
||||
if (args.size() != 2)
|
||||
|
@ -173,6 +174,7 @@ void alertAllUsers(const std::string& cmd, const std::string& kind)
|
|||
|
||||
}
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
POCO_APP_MAIN(LOKitClient)
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -61,6 +61,7 @@ void Stress::printHelp()
|
|||
std::cerr << " --help for full arguments list." << std::endl;
|
||||
}
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
int Stress::main(const std::vector<std::string>& args)
|
||||
{
|
||||
if (args.empty())
|
||||
|
@ -107,6 +108,7 @@ int Stress::main(const std::vector<std::string>& args)
|
|||
return EX_OK;
|
||||
}
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
POCO_APP_MAIN(Stress)
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -274,6 +274,7 @@ int Tool::main(const std::vector<std::string>& origArgs)
|
|||
return EX_OK;
|
||||
}
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
POCO_APP_MAIN(Tool)
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -220,6 +220,7 @@ public:
|
|||
{}
|
||||
};
|
||||
|
||||
// coverity[root_function] : don't warn about uncaught exceptions
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
(void) argc; (void) argv;
|
||||
|
|
Loading…
Reference in New Issue