mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +00:00
LibJS: Supress an unused bind when wrapping float atomic operations
This commit is contained in:
parent
8763dbcccc
commit
388dc9cc5f
|
@ -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>;
|
||||
|
|
Loading…
Reference in a new issue