kernel: Initialize all fields of rw_lock in RW_LOCK_INITIALIZER.

Spotted by Clang.
This commit is contained in:
Augustin Cavalier 2018-12-09 23:01:11 -05:00
parent 5dd66afb7d
commit 86c12bf05b

View File

@ -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