Skip to content

Commit a09d37b

Browse files
committed
🛠 pivot is now used differently
1 parent d46912d commit a09d37b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/registry/source/indirect_ascii.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ inline namespace cnc_tests_registry_indirect_ascii {
4444

4545
template <typename Source, typename PivotExpected, typename Expected>
4646
void compare_registry_roundtrip(cnc_conversion* conv, const Source& source,
47-
const PivotExpected& pivot_expected, const Expected& expected) {
47+
[[maybe_unused]] const PivotExpected& pivot_expected, const Expected& expected) {
4848
unsigned char pivot_buffer[500] = {};
4949
cnc_pivot_info pivot = { ztdc_c_array_size(pivot_buffer), pivot_buffer, cnc_mcerr_ok };
5050
alignas(ztd_char32_t) unsigned char output_buffer[500] = {};
@@ -57,10 +57,8 @@ inline namespace cnc_tests_registry_indirect_ascii {
5757
std::u32string_view output_view((const ztd_char32_t*)output_buffer,
5858
(ztdc_c_array_size(output_buffer) - output_size) / sizeof(ztd_char32_t));
5959
const bool err_okay = err == cnc_mcerr_ok;
60-
const bool pivot_okay = pivot_view == pivot_expected;
6160
const bool output_okay = output_view == expected;
6261
REQUIRE(err_okay);
63-
REQUIRE(pivot_okay);
6462
REQUIRE(output_okay);
6563
}
6664

0 commit comments

Comments
 (0)