cmDependsFortran: simplify boolean expression

This commit is contained in:
Daniel Pfeifer 2016-09-08 23:43:06 +02:00 committed by Brad King
parent 8f324c7cef
commit 73128b823c
1 changed files with 1 additions and 6 deletions

View File

@ -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);
}