summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:44:52 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-08-27 11:44:52 (GMT)
commit0bbdbd95c9515a4714ef1d57a17c7271bc4d1774 (patch)
tree47f1f326e910e51aeea51f2e0b0431c24f790186 /Source/cmLocalUnixMakefileGenerator3.cxx
parent9440d5776bf48778d452e2d3a48d4e93d7b6f7a7 (diff)
downloadCMake-0bbdbd95c9515a4714ef1d57a17c7271bc4d1774.zip
CMake-0bbdbd95c9515a4714ef1d57a17c7271bc4d1774.tar.gz
CMake-0bbdbd95c9515a4714ef1d57a17c7271bc4d1774.tar.bz2
Makefiles: Rename local variable
In this context, 'ret' means 'return', but I don't really know what that means. It is not consistent with types and other variables used in the vicinity for these things.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 75970772..4ecd0b2 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -2048,10 +2048,10 @@ void cmLocalUnixMakefileGenerator3::CreateCDCommand(
std::vector<std::string>& commands, const char* tgtDir,
cmOutputConverter::RelativeRoot relRetDir)
{
- const char* retDir = this->GetRelativeRootPath(relRetDir);
+ const char* relDir = this->GetRelativeRootPath(relRetDir);
// do we need to cd?
- if (!strcmp(tgtDir, retDir)) {
+ if (!strcmp(tgtDir, relDir)) {
return;
}