diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-08 21:43:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-12 13:28:21 (GMT) |
commit | 73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c (patch) | |
tree | 7a7f2c9d20f4c56eedd1fafa54d06eab6e1bc06d | |
parent | 8f324c7cefea75a12c0f58977177edf263f42e9f (diff) | |
download | CMake-73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c.zip CMake-73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c.tar.gz CMake-73128b823c2fe8f63fcdc4c8c92c3672b6f05f3c.tar.bz2 |
cmDependsFortran: simplify boolean expression
-rw-r--r-- | Source/cmDependsFortran.cxx | 7 |
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); } |