mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 06:49:12 +03:00
LibJS: Supress an unused bind when wrapping float atomic operations
This commit is contained in:
parent
8763dbcccc
commit
388dc9cc5f
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/388dc9cc5f Pull-request: https://github.com/SerenityOS/serenity/pull/15233 Reviewed-by: https://github.com/BenWiederhake ✅ Reviewed-by: https://github.com/bgianfo
@ -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 {
|
auto operation_wrapper = [&, operation = forward<AtomicFunction>(operation)](ByteBuffer x_bytes, ByteBuffer y_bytes) -> ByteBuffer {
|
||||||
if constexpr (IsFloatingPoint<T>) {
|
if constexpr (IsFloatingPoint<T>) {
|
||||||
|
(void)operation;
|
||||||
VERIFY_NOT_REACHED();
|
VERIFY_NOT_REACHED();
|
||||||
} else {
|
} else {
|
||||||
using U = Conditional<IsSame<ClampedU8, T>, u8, T>;
|
using U = Conditional<IsSame<ClampedU8, T>, u8, T>;
|
||||||
|
Loading…
Reference in New Issue
Block a user