--- gp2root/pPheaMgr.cpp 2006/04/19 23:35:57 1.1 +++ gp2root/pPheaMgr.cpp 2006/10/22 08:27:01 1.2 @@ -22,7 +22,7 @@ return _pheamgr; } -pHea* pPheaMgr::GetpHea(const string &s, const char *c) +pHeader* pPheaMgr::GetpHea(const string &s, const char *c) { string temp=HEADER_NAMES; string::size_type spos=temp.find(ToLower(s)); @@ -33,5 +33,10 @@ case string::npos: cout << " pPheaMgr : Header = " << s << " not found "; return 0; + default: + cout << " pPheaMgr : Header = " << s << " not found "; + return 0; } } + +