1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Remove an always false clause from an if statement.

llvm-svn: 18885
This commit is contained in:
Reid Spencer 2004-12-13 07:51:07 +00:00
parent 72ddb084c4
commit 2062d248c7

View File

@ -290,7 +290,7 @@ Path::setDirectory(const std::string& a_path) {
Path save(*this);
path = a_path;
size_t last = a_path.size() -1;
if (a_path.size() == 0 || a_path[last] != '/')
if (a_path[last] != '/')
path += '/';
if (!isValid()) {
path = save.path;