Browse Source

Autogen: Add missing return on error

Sebastian Holtermann 8 years ago
parent
commit
ac77fa35c0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmQtAutoGenerators.cxx

+ 1 - 0
Source/cmQtAutoGenerators.cxx

@@ -396,6 +396,7 @@ bool cmQtAutoGenerators::ReadAutogenInfoFile(
     } else {
       this->LogError("AutoMoc: Error: AUTOMOC_DEPEND_FILTERS list size is not "
                      "a multiple of 2");
+      return false;
     }
   }