From 73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 8 Sep 2016 23:43:06 +0200 Subject: [PATCH] cmDependsFortran: simplify boolean expression --- Source/cmDependsFortran.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index b7e006d763..eb4c1ecd35 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -712,10 +712,5 @@ bool cmDependsFortran::ModulesDiffer(const char* modFile, // Compare the remaining content. If no compiler id matched above, // including the case none was given, this will compare the whole // content. - if (!cmFortranStreamsDiffer(finModFile, finStampFile)) { - return false; - } - - // The modules are different. - return true; + return cmFortranStreamsDiffer(finModFile, finStampFile); }