Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9162 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ef4fc75459
commit
201e236e52
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user