LibJS: Supress an unused bind when wrapping float atomic operations

This commit is contained in:
Tim Schumacher 2022-09-13 23:47:51 +02:00 committed by Brian Gianforcaro
parent 8763dbcccc
commit 388dc9cc5f
Notes: sideshowbarker 2024-07-17 18:23:22 +09:00

View File

@ -107,6 +107,7 @@ static ThrowCompletionOr<Value> perform_atomic_operation(VM& vm, TypedArrayBase&
auto operation_wrapper = [&, operation = forward<AtomicFunction>(operation)](ByteBuffer x_bytes, ByteBuffer y_bytes) -> ByteBuffer {
if constexpr (IsFloatingPoint<T>) {
(void)operation;
VERIFY_NOT_REACHED();
} else {
using U = Conditional<IsSame<ClampedU8, T>, u8, T>;