aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-12-05 20:05:19 +0100
committerLaytan Laats <laytanlaats@hotmail.com>2024-12-05 20:05:19 +0100
commitcf53404f5f1275d1de9770f0abf86973bf98573d (patch)
treed55884e8bbca374411728819140656b06c6aa765 /core
parentac3a87c2cfbead5d7c10ec4197aebc8327ce584c (diff)
sync: fix no new values
Diffstat (limited to 'core')
-rw-r--r--core/sync/futex_wasm.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/sync/futex_wasm.odin b/core/sync/futex_wasm.odin
index 8675203ae..16e69ca74 100644
--- a/core/sync/futex_wasm.odin
+++ b/core/sync/futex_wasm.odin
@@ -12,7 +12,7 @@ _futex_wait :: proc "contextless" (f: ^Futex, expected: u32) -> bool {
when !intrinsics.has_target_feature("atomics") {
panic_contextless("usage of `core:sync` requires the `-target-feature:\"atomics\"` or a `-microarch` that supports it")
} else {
- _ := intrinsics.wasm_memory_atomic_wait32((^u32)(f), expected, -1)
+ _ = intrinsics.wasm_memory_atomic_wait32((^u32)(f), expected, -1)
return true
}
}
@@ -30,7 +30,7 @@ _futex_signal :: proc "contextless" (f: ^Futex) {
when !intrinsics.has_target_feature("atomics") {
panic_contextless("usage of `core:sync` requires the `-target-feature:\"atomics\"` or a `-microarch` that supports it")
} else {
- _ := intrinsics.wasm_memory_atomic_notify32((^u32)(f), 1)
+ _ = intrinsics.wasm_memory_atomic_notify32((^u32)(f), 1)
}
}
@@ -38,7 +38,7 @@ _futex_broadcast :: proc "contextless" (f: ^Futex) {
when !intrinsics.has_target_feature("atomics") {
panic_contextless("usage of `core:sync` requires the `-target-feature:\"atomics\"` or a `-microarch` that supports it")
} else {
- _ := intrinsics.wasm_memory_atomic_notify32((^u32)(f), max(u32))
+ _ = intrinsics.wasm_memory_atomic_notify32((^u32)(f), max(u32))
}
}