From 2ef59b4f034c863ec4b7f84665c60680b96c33b7 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 25 Jul 2018 13:27:31 +0100 Subject: [PATCH] emit_x64_vector_floating_point: ChooseOnFsize arguments maybe_unused --- src/backend_x64/emit_x64_vector_floating_point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend_x64/emit_x64_vector_floating_point.cpp b/src/backend_x64/emit_x64_vector_floating_point.cpp index c3254faa..3f845e19 100644 --- a/src/backend_x64/emit_x64_vector_floating_point.cpp +++ b/src/backend_x64/emit_x64_vector_floating_point.cpp @@ -29,7 +29,7 @@ using namespace Xbyak::util; namespace mp = Common::mp; template -static T ChooseOnFsize(T f32, T f64) { +static T ChooseOnFsize([[maybe_unused]] T f32, [[maybe_unused]] T f64) { static_assert(fsize == 32 || fsize == 64, "fsize must be either 32 or 64"); if constexpr (fsize == 32) {