From 0bbdbd95c9515a4714ef1d57a17c7271bc4d1774 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 27 Aug 2016 13:44:52 +0200 Subject: [PATCH] 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. --- Source/cmLocalUnixMakefileGenerator3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 7597077272..4ecd0b2505 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -2048,10 +2048,10 @@ void cmLocalUnixMakefileGenerator3::CreateCDCommand( std::vector& 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; }