Skip to content
Snippets Groups Projects
Commit 2a45135f authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #6655 removed more unused code

parent cbfe922b
No related branches found
No related tags found
No related merge requests found
......@@ -63,13 +63,6 @@
#include <sys/types.h> // mkdir(2)
#include <sys/stat.h> // mkdir(2)
#define fill_config_str(name, value) \
(_config.addConfigTreeItem(section, Conf::ConfigTreeItem(std::string(name), std::string(value), type_str)))
#define fill_config_int(name, value) \
(_config.addConfigTreeItem(section, Conf::ConfigTreeItem(std::string(name), std::string(value), type_int)))
#define MD5_APPEND(pms,buf,len) pj_md5_update(pms, (const pj_uint8_t*)buf, len)
ManagerImpl::ManagerImpl (void) :
_hasTriedToRegister (false), _config(), _currentCallId2(),
_currentCallMutex(), _audiodriver (0),
......@@ -84,16 +77,6 @@ ManagerImpl::ManagerImpl (void) :
{
// initialize random generator for call id
srand (time (NULL));
#ifdef TEST
testAccountMap();
loadAccountMap();
testCallAccountMap();
unloadAccountMap();
#endif
// should be call before initConfigFile
// loadAccountMap();, called in init() now.
}
// never call if we use only the singleton...
......
......@@ -1371,10 +1371,6 @@ class ManagerImpl
Conf::YamlParser *parser;
Conf::YamlEmitter *emitter;
#ifdef TEST
bool testCallAccountMap();
bool testAccountMap();
#endif
friend class SIPTest;
friend class ConfigurationTest;
friend class HistoryTest;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment