diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index e2f830f06..7bb128364 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -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 localSplit = cmSystemTools::SplitString(local, '/', true); std::vector remoteSplit = cmSystemTools::SplitString(remote, '/', true); std::vector commonPath; // store shared parts of path in this array