mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 20:49:41 +00:00
COMP: remove an unused variable warning
This commit is contained in:
parent
626be7884a
commit
ef07a8565e
@ -1220,7 +1220,6 @@ std::string cmSystemTools::RelativePath(const char* local, const char* remote)
|
||||
}
|
||||
|
||||
// split up both paths into arrays of strings using / as a separator
|
||||
std::string localString = local;
|
||||
std::vector<cmStdString> localSplit = cmSystemTools::SplitString(local, '/', true);
|
||||
std::vector<cmStdString> remoteSplit = cmSystemTools::SplitString(remote, '/', true);
|
||||
std::vector<cmStdString> commonPath; // store shared parts of path in this array
|
||||
|
Loading…
Reference in New Issue
Block a user