mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 13:31:28 +01:00
kernel: Initialize all fields of rw_lock in RW_LOCK_INITIALIZER.
Spotted by Clang.
This commit is contained in:
parent
5dd66afb7d
commit
86c12bf05b
@ -103,7 +103,7 @@ typedef struct rw_lock {
|
||||
#endif
|
||||
|
||||
#define RW_LOCK_INITIALIZER(name) \
|
||||
{ name, NULL, B_SPINLOCK_INITIALIZER, -1, 0, 0, 0 }
|
||||
{ name, NULL, B_SPINLOCK_INITIALIZER, -1, 0, 0, 0, 0, 0 }
|
||||
|
||||
|
||||
#if KDEBUG
|
||||
|
Loading…
x
Reference in New Issue
Block a user