Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
5213f893
Commit
5213f893
authored
Oct 04, 2016
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Source/cmOutputConverter.cxx
View file @
5213f893
...
...
@@ -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
=
this
->
StateSnapshot
.
GetDirectory
().
GetRelativePathTopBinary
();
const
std
::
string
relativePathTopSource
=
...
...
Brad King
@brad.king
Mentioned in commit
9c4d1056
·
Oct 07, 2016
Mentioned in commit
9c4d1056
Mentioned in commit 9c4d105680c99e194c6d6063315ee2affd2a7b63
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment