mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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