Commit 5213f893 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

Convert: Remove early return check

This function delegates to another function which does the same check.
parent b61c268b
Pipeline #29743 passed with stage
......@@ -86,11 +86,6 @@ std::string cmOutputConverter::ConvertToRelativePath(
// The local path should never have a trailing slash.
assert(local_path.empty() || local_path[local_path.size() - 1] != '/');
// If the path is already relative then just return the path.
if (!cmSystemTools::FileIsFullPath(remote_path.c_str())) {
return remote_path;
const std::string relativePathTopBinary =
const std::string relativePathTopSource =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment