trunk/Synopsis/Parsers/Cxx/occ/TypeInfo.cc

[email protected] (Gilles J. Seguin)
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
trunk/Synopsis/Parsers/Cxx/occ/TypeInfo.cc
line 569 missing return

PTree::Encoding TypeInfo::skip_name(const PTree::Encoding &encode,
Environment *e)
{
  if(!e) throw std::runtime_error("TypeInfo::skip_name(): nil
environment");

  Environment *e2 = e;
  PTree::Encoding ptr = Environment::get_base_name(encode, e2);
  if (ptr.empty()) {
    return PTree::Encoding(); // missing return
  }
  else {
    return PTree::Encoding(encode.begin() + ptr.size(), encode.end());
  }
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.