diff --git a/src/Amalgam/importexport/FileSupportCAML.cpp b/src/Amalgam/importexport/FileSupportCAML.cpp index 09d3e04d..a0b67c43 100644 --- a/src/Amalgam/importexport/FileSupportCAML.cpp +++ b/src/Amalgam/importexport/FileSupportCAML.cpp @@ -89,6 +89,10 @@ std::tuple FileSupportCAML::ReadHeader(std::ifst if(!success) return std::make_tuple(error_message, version, false); } + else + { + return std::make_tuple("CAML does not contain a valid header", "", false); + } return std::make_tuple("", "", true); }