aboutsummaryrefslogtreecommitdiff
path: root/std/event/rwlock.zig
diff options
context:
space:
mode:
Diffstat (limited to 'std/event/rwlock.zig')
-rw-r--r--std/event/rwlock.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/event/rwlock.zig b/std/event/rwlock.zig
index 07b7340fca..cbcdff06af 100644
--- a/std/event/rwlock.zig
+++ b/std/event/rwlock.zig
@@ -101,6 +101,7 @@ pub const RwLock = struct {
// TODO explicitly put this memory in the coroutine frame #1194
var my_tick_node = Loop.NextTickNode{
.data = handle,
+ .prev = undefined,
.next = undefined,
};
@@ -133,6 +134,7 @@ pub const RwLock = struct {
// TODO explicitly put this memory in the coroutine frame #1194
var my_tick_node = Loop.NextTickNode{
.data = handle,
+ .prev = undefined,
.next = undefined,
};