diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:52 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:52 (GMT) |
commit | 0bbdbd95c9515a4714ef1d57a17c7271bc4d1774 (patch) | |
tree | 47f1f326e910e51aeea51f2e0b0431c24f790186 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 9440d5776bf48778d452e2d3a48d4e93d7b6f7a7 (diff) | |
download | CMake-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.cxx | 4 |
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; } |