remove some unneccessary checks - thanks to Petr Uzel

This commit is contained in:
Arnout Engelen
2008-12-06 11:36:03 +00:00
parent 218e117731
commit 7b54891553
3 changed files with 1 additions and 6 deletions

View File

@@ -65,7 +65,6 @@ public:
void check () {
if (!ROBUST) {
assert (pid >= 0);
assert (uid >= 0);
}
}
@@ -91,7 +90,6 @@ public:
void setUid(uid_t m_uid)
{
assert (m_uid >= 0);
uid = m_uid;
}
private: