summaryrefslogtreecommitdiff
path: root/src/unittests/fs/virtfs/virtfs2_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/fs/virtfs/virtfs2_unittest.cc')
-rw-r--r--src/unittests/fs/virtfs/virtfs2_unittest.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/unittests/fs/virtfs/virtfs2_unittest.cc b/src/unittests/fs/virtfs/virtfs2_unittest.cc
index 86d932655..8e578cc71 100644
--- a/src/unittests/fs/virtfs/virtfs2_unittest.cc
+++ b/src/unittests/fs/virtfs/virtfs2_unittest.cc
@@ -22,10 +22,8 @@
#include "fs/files.h"
-#include "fs/virtfs/direntry.h"
#include "fs/virtfs/fs.h"
#include "fs/virtfs/rwops.h"
-#include "fs/virtfs/list.h"
#include "utils/checkutils.h"
#include "utils/delete2.h"
@@ -43,17 +41,6 @@ PRAGMA48(GCC diagnostic pop)
#include "debug.h"
-static bool inList(const VirtFs::List *const list,
- const std::string &name)
-{
- FOR_EACH (StringVectCIter, it, list->names)
- {
- if (*it == name)
- return true;
- }
- return false;
-}
-
static bool inList(StringVect list,
const std::string &name)
{