From e40fcb598de8144a2824c7f30c754d3948231602 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 25 May 2015 09:21:56 +0200 Subject: [PATCH] cmMakefile: Simplify convert condition. The CallStack is checked above. --- Source/cmMakefile.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 3e8ae857a..81960eb5f 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -272,8 +272,7 @@ void cmMakefile::IssueMessage(cmake::MessageType t, // command. Add whatever context information we have. lfc.FilePath = this->ListFileStack.back(); } - if(!this->CallStack.empty() - || !this->GetCMakeInstance()->GetIsInTryCompile()) + if(!this->GetCMakeInstance()->GetIsInTryCompile()) { lfc.FilePath = this->LocalGenerator->Convert(lfc.FilePath, cmLocalGenerator::HOME);