Skip to content

Commit

Permalink
add [[maybe_unused]]
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Oct 12, 2023
1 parent 8484f39 commit 9e09fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/test/onnx/TestCase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void LoopDataFile(int test_data_pb_fd, bool is_input, const TestModelInfo& model
f.SetCloseOnDelete(true);
google::protobuf::io::CodedInputStream coded_input(&f);
bool clean_eof = false;
int item_id = 1;
[[maybe_unused]] int item_id = 1;
for (proto::TraditionalMLData data;
ParseDelimitedFromCodedStream(&data, &coded_input, &clean_eof);
++item_id, data.Clear()) {
Expand Down

0 comments on commit 9e09fc3

Please sign in to comment.