db/Simple: remove unused function db_get_directory()

This commit is contained in:
Max Kellermann
2014-02-04 09:03:17 +01:00
parent 9c637df77e
commit 33a2c01ea2
3 changed files with 0 additions and 22 deletions

View File

@@ -104,19 +104,6 @@ db_get_root(void)
return ((SimpleDatabase *)db)->GetRoot();
}
Directory *
db_get_directory(const char *name)
{
if (db == nullptr)
return nullptr;
Directory *music_root = db_get_root();
if (name == nullptr)
return music_root;
return music_root->LookupDirectory(name);
}
bool
db_save(Error &error)
{