mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-07 22:10:37 +00:00
ring: use NULL instead of 0 for null pointers
This is consistent with the rest of the code making clear fields are pointers. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <uril@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
397eb47816
commit
80cc3f680a
@ -74,7 +74,7 @@ static inline void __ring_remove(RingItem *item)
|
||||
{
|
||||
item->next->prev = item->prev;
|
||||
item->prev->next = item->next;
|
||||
item->prev = item->next = 0;
|
||||
item->prev = item->next = NULL;
|
||||
}
|
||||
|
||||
static inline void ring_remove(RingItem *item)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user