Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9162 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -51,11 +51,12 @@ status_t
|
|||||||
Err::SetTo(const char *msg, const ssize_t pos) {
|
Err::SetTo(const char *msg, const ssize_t pos) {
|
||||||
SetMsg(msg);
|
SetMsg(msg);
|
||||||
SetPos(pos);
|
SetPos(pos);
|
||||||
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
Err::SetTo(const std::string &msg, const ssize_t pos) {
|
Err::SetTo(const std::string &msg, const ssize_t pos) {
|
||||||
SetTo(msg.c_str(), pos);
|
return SetTo(msg.c_str(), pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ Pattern::SetTo(const std::string &string, const std::string &mask) {
|
|||||||
SetStatus(B_OK);
|
SetStatus(B_OK);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return fCStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! \brief Looks for a pattern match in the given data stream, starting from
|
/*! \brief Looks for a pattern match in the given data stream, starting from
|
||||||
|
|||||||
Reference in New Issue
Block a user