summaryrefslogtreecommitdiff
path: root/cmps/tests/MetaScanTest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cmps/tests/MetaScanTest.cc')
-rw-r--r--cmps/tests/MetaScanTest.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/cmps/tests/MetaScanTest.cc b/cmps/tests/MetaScanTest.cc
index 1b57752..c207d5c 100644
--- a/cmps/tests/MetaScanTest.cc
+++ b/cmps/tests/MetaScanTest.cc
@@ -39,22 +39,10 @@
void parseConfig(const char *FileName)
{
-#ifdef OLD_STUFF
- cConfigReader *cr = new cConfigReader(new cLineReader(new cFileReader(new cFile(FileName))));
- cConfigReader::ConfigEntry *ce;
-
- while ((ce = cr->ReadEntry())) {
- std::cout << "config entry [" << std::get<0>(*ce) << "] => " << std::get<1>(*ce) << std::endl;
- delete ce;
- }
- cr->Close();
- delete cr;
-#else
cMediaServerConfig msc("/var/lib/cmp");
msc.Load("srserver.conf");
msc.Dump();
-#endif
}
void dumpTextfile(const char *FileName)