bricks: fix clang warnings

* bricks/brick-hash.h, bricks/brick-shmem.h: here.
This commit is contained in:
Etienne Renault 2016-03-15 17:18:33 +01:00
parent 458f506336
commit 01f66642f1
2 changed files with 3 additions and 3 deletions

View file

@ -369,7 +369,7 @@ protected:
Node *next;
Node() {
read = write = buffer;
next = 0;
next = nullptr;
}
};
@ -393,7 +393,7 @@ public:
~Fifo() {
while ( head != tail ) {
Node *next = head->next;
ASSERT( next != 0 );
ASSERT( next != nullptr );
delete head;
head = next;
}