Skip to content

Commit 5dec488

Browse files
committed
Fix unused variable warning
1 parent 4328791 commit 5dec488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/decimal/decimal_fast32_t.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,9 +940,9 @@ constexpr auto operator*(const Integer lhs, const decimal_fast32_t rhs) noexcept
940940

941941
constexpr auto div_impl(const decimal_fast32_t lhs, const decimal_fast32_t rhs, decimal_fast32_t& q, decimal_fast32_t& r) noexcept -> void
942942
{
943-
constexpr decimal_fast32_t zero {0, 0};
944-
945943
#ifndef BOOST_DECIMAL_FAST_MATH
944+
constexpr decimal_fast32_t zero {0, 0};
945+
946946
const bool sign {lhs.isneg() != rhs.isneg()};
947947
constexpr decimal_fast32_t nan {direct_init(detail::d32_fast_qnan, UINT8_C(0), false)};
948948
constexpr decimal_fast32_t inf {direct_init(detail::d32_fast_inf, UINT8_C(0), false)};

0 commit comments

Comments
 (0)