Some minor fix I had laying around on some machine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25351 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -553,9 +553,14 @@ Rule::Dump()
|
|||||||
|
|
||||||
|
|
||||||
RuleMatcher::RuleMatcher(team_id team, const char *name)
|
RuleMatcher::RuleMatcher(team_id team, const char *name)
|
||||||
|
:
|
||||||
|
fRules(NULL)
|
||||||
{
|
{
|
||||||
recursive_lock_lock(&sLock);
|
recursive_lock_lock(&sLock);
|
||||||
|
|
||||||
|
if (name == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
fRules = (team_rules *)hash_lookup(sTeamHash, &team);
|
fRules = (team_rules *)hash_lookup(sTeamHash, &team);
|
||||||
if (fRules != NULL)
|
if (fRules != NULL)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user