Skip to content

Commit b8d3a78

Browse files
ilazaricdaveedvdv-nvidia
authored andcommitted
Fix unused variable warning in GCC 16+ [GH edgcpp#198]
1 parent 863cd62 commit b8d3a78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/util.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4857,8 +4857,8 @@ formatter::append_into functions.
48574857
total_size += element_sizes[i];
48584858
} /* for */
48594859

4860-
auto *backing_array = reserve_func(total_size);
4861-
size_t counter = 0;
4860+
auto *backing_array = reserve_func(total_size);
4861+
LOCAL_UNUSED size_t counter = 0;
48624862
/* The following expression is expanded to effectively evaluate as:
48634863
48644864
detail::String_formatter<type_1>::append_into(*backing_array,

0 commit comments

Comments
 (0)