summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-03-16 17:07:50 +0100
committerLukas Pioch <lukas@zgow.de>2017-03-16 17:50:19 +0100
commit4b1bc1cc5ca26d79d65321cfc90f45712f351ff0 (patch)
tree64bcd3c37134b79db6d9de23de7f3df08ca9d173 /src/OSSupport
parentAPIDocs: Corrected param types in cBoundingBox (#3624) (diff)
downloadcuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar
cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.gz
cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.bz2
cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.lz
cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.xz
cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.tar.zst
cuberite-4b1bc1cc5ca26d79d65321cfc90f45712f351ff0.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/File.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp
index 062161144..166de8f46 100644
--- a/src/OSSupport/File.cpp
+++ b/src/OSSupport/File.cpp
@@ -336,12 +336,6 @@ bool cFile::DeleteFolderContents(const AString & a_FolderName)
auto Contents = cFile::GetFolderContents(a_FolderName);
for (const auto & item: Contents)
{
- // Skip "." and ".." altogether:
- if ((item == ".") || (item == ".."))
- {
- continue;
- }
-
// Remove the item:
auto WholePath = a_FolderName + GetPathSeparator() + item;
if (IsFolder(WholePath))