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.
This commit is contained in:
Stephen Kelly 2016-08-27 13:44:52 +02:00
parent 9440d5776b
commit 0bbdbd95c9
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}