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:
parent
72ddb084c4
commit
2062d248c7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user