Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9162 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2004-10-02 16:16:33 +00:00
parent ef4fc75459
commit 201e236e52
2 changed files with 3 additions and 1 deletions

View File

@ -51,11 +51,12 @@ status_t
Err::SetTo(const char *msg, const ssize_t pos) {
SetMsg(msg);
SetPos(pos);
return B_OK;
}
status_t
Err::SetTo(const std::string &msg, const ssize_t pos) {
SetTo(msg.c_str(), pos);
return SetTo(msg.c_str(), pos);
}
void

View File

@ -74,6 +74,7 @@ Pattern::SetTo(const std::string &string, const std::string &mask) {
SetStatus(B_OK);
}
}
return fCStatus;
}
/*! \brief Looks for a pattern match in the given data stream, starting from