Просмотр исходного кода

cmDependsFortran: simplify boolean expression

Daniel Pfeifer 9 лет назад
Родитель
Сommit
73128b823c
1 измененных файлов с 1 добавлено и 6 удалено
  1. 1 6
      Source/cmDependsFortran.cxx

+ 1 - 6
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);
 }