summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-08 21:43:06 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-12 13:28:21 (GMT)
commit73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c (patch)
tree7a7f2c9d20f4c56eedd1fafa54d06eab6e1bc06d /Source/cmDependsFortran.cxx
parent8f324c7cefea75a12c0f58977177edf263f42e9f (diff)
downloadCMake-73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c.zip
CMake-73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c.tar.gz
CMake-73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c.tar.bz2
cmDependsFortran: simplify boolean expression
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index b7e006d..eb4c1ec 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);
}