The remaining nulls

This commit is contained in:
Tim Wojtulewicz 2020-04-02 11:13:07 -07:00
parent 41c3256faa
commit 0a47588d0b
80 changed files with 565 additions and 565 deletions

View file

@ -74,10 +74,10 @@ void Event::Dispatch(bool no_remote)
EventMgr::EventMgr()
{
head = tail = 0;
head = tail = nullptr;
current_src = SOURCE_LOCAL;
current_aid = 0;
src_val = 0;
src_val = nullptr;
draining = false;
}
@ -176,8 +176,8 @@ void EventMgr::Drain()
for ( int round = 0; head && round < 2; round++ )
{
Event* current = head;
head = 0;
tail = 0;
head = nullptr;
tail = nullptr;
while ( current )
{