Skip to content

Commit

Permalink
css2: Remove unnecessary [[maybe_unused]]
Browse files Browse the repository at this point in the history
After 0f8f2fa this is always used.
  • Loading branch information
robinlinden committed Dec 23, 2024
1 parent fc20651 commit 1c76bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css2/tokenizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ std::variant<std::int32_t, double> Tokenizer::consume_number(char first_byte) {
//
// The spec doesn't mention precision of this, so let's clamp it to the
// int32_t range for now.
[[maybe_unused]] util::from_chars_result fc_res{};
util::from_chars_result fc_res{};
if (auto *int_res = std::get_if<std::int32_t>(&result); int_res != nullptr) {
fc_res = util::from_chars(repr.data(), repr.data() + repr.size(), *int_res);
*int_res = std::clamp(
Expand Down

0 comments on commit 1c76bc0

Please sign in to comment.