From 1c5ea9903197d6ed8340f96656b082ca258cabd4 Mon Sep 17 00:00:00 2001 From: KentuckyCompass Date: Thu, 27 Dec 2012 05:14:06 -0800 Subject: [PATCH] Remove pointless string clear() --- Core/FileSystems/DirectoryFileSystem.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Core/FileSystems/DirectoryFileSystem.cpp b/Core/FileSystems/DirectoryFileSystem.cpp index fd7c4b8174..954dea960e 100644 --- a/Core/FileSystems/DirectoryFileSystem.cpp +++ b/Core/FileSystems/DirectoryFileSystem.cpp @@ -94,8 +94,6 @@ bool DirectoryFileSystem::FixPathCase(std::string &path, FixPathCaseBehavior beh std::string fullPath; fullPath.reserve(basePath.size() + len + 1); - - fullPath.clear(); fullPath.append(basePath); size_t start = 0;