Clean up some stuff, including a few spots where exceptions were not being handled correctly.

This commit is contained in:
Adam Ierymenko
2013-10-18 14:16:53 -04:00
parent 03b909603a
commit ca93b4a1ac
15 changed files with 42 additions and 66 deletions

View File

@ -43,7 +43,6 @@ namespace ZeroTier {
const Defaults ZT_DEFAULTS;
static inline std::map< Identity,std::vector<InetAddress> > _mkSupernodeMap()
throw(std::runtime_error)
{
std::map< Identity,std::vector<InetAddress> > sn;
Identity id;
@ -99,8 +98,7 @@ static inline std::string _mkDefaultHomePath()
#endif
}
Defaults::Defaults()
throw(std::runtime_error) :
Defaults::Defaults() :
#ifdef ZT_TRACE_MULTICAST
multicastTraceWatcher(ZT_TRACE_MULTICAST),
#endif