less strict handling of empty function blocks, than before

This commit is contained in:
nemu committed 2010-11-17 14:18:11 +00:00
1 parent 62d33112ba
commit 04e9d4e04f
2 files changed
+2 -3

No files matched your search

+1 -3
View File
@@ -2282,10 +2282,8 @@ Bool_t PMsrHandler::HandleFunctionsEntry(PMsrLines &lines)
// check if an empty FUNCTIONS block is present
if ((fFuncHandler->GetNoOfFuncs() == 0) && !lines.empty()) {
cerr << endl << ">> PMsrHandler::HandleFunctionsEntry: **ERROR** empty FUNCTIONS block are not supported!";
cerr << endl << ">> If you want to keep it, just comment the whole block ;-)";
cerr << endl << ">> PMsrHandler::HandleFunctionsEntry: **WARNING** empty FUNCTIONS block found!";
cerr << endl;
return false;
}
return true;