Skip to content

Commit dcb102a

Browse files
committed
Fix unused variable warning
1 parent 2f86419 commit dcb102a

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
@@ -946,9 +946,9 @@ constexpr auto operator*(const Integer lhs, const decimal_fast32_t rhs) noexcept
946946

947947
constexpr auto div_impl(const decimal_fast32_t lhs, const decimal_fast32_t rhs, decimal_fast32_t& q, decimal_fast32_t& r) noexcept -> void
948948
{
949-
constexpr decimal_fast32_t zero {0, 0};
950-
951949
#ifndef BOOST_DECIMAL_FAST_MATH
950+
constexpr decimal_fast32_t zero {0, 0};
951+
952952
const bool sign {lhs.isneg() != rhs.isneg()};
953953
constexpr decimal_fast32_t nan {direct_init(detail::d32_fast_qnan, UINT8_C(0), false)};
954954
constexpr decimal_fast32_t inf {direct_init(detail::d32_fast_inf, UINT8_C(0), false)};

0 commit comments

Comments
 (0)