No public description PiperOrigin-RevId: 1021465840 Change-Id: Iea42fe84ffdc71e3eaf046d2b5c091c43c3d39d0
diff --git a/mpact/sim/decoder/proto_encoding_group.cc b/mpact/sim/decoder/proto_encoding_group.cc index f311316..3a8acf5 100644 --- a/mpact/sim/decoder/proto_encoding_group.cc +++ b/mpact/sim/decoder/proto_encoding_group.cc
@@ -434,7 +434,6 @@ // Helper lambda. auto generate_condition = [](const ProtoConstraint* constraint) -> std::string { - std::string output; if (constraint->op == ConstraintType::kHas) { std::string ident = constraint->ctx->qualified_ident()->getText(); auto pos = ident.find_last_of('.');
diff --git a/mpact/sim/decoder/proto_encoding_info.cc b/mpact/sim/decoder/proto_encoding_info.cc index 1c01936..b868c6e 100644 --- a/mpact/sim/decoder/proto_encoding_info.cc +++ b/mpact/sim/decoder/proto_encoding_info.cc
@@ -185,7 +185,6 @@ std::string var_output; std::string cc_output; std::string class_name = ToPascalCase(decoder_->name()) + "Decoder"; - std::string decoder_def; std::string type_aliases; // Add type aliases for protobuf messages used in decoders. for (auto* inst_group : decoder_->instruction_groups()) {
diff --git a/mpact/sim/decoder/proto_instruction_group.cc b/mpact/sim/decoder/proto_instruction_group.cc index d253d43..e0222a5 100644 --- a/mpact/sim/decoder/proto_instruction_group.cc +++ b/mpact/sim/decoder/proto_instruction_group.cc
@@ -140,7 +140,7 @@ name(), "'.\n"); return output; } - std::string qualified_message_type = + [[maybe_unused]] std::string qualified_message_type = absl::StrReplaceAll(message_type_->full_name(), {{".", "::"}}); std::string message_type = ToPascalCase(name()) + "MessageType"; absl::StrAppend(
diff --git a/mpact/sim/util/gdbserver/gdbserver.cc b/mpact/sim/util/gdbserver/gdbserver.cc index 2a0fc7c..7b3dd80 100644 --- a/mpact/sim/util/gdbserver/gdbserver.cc +++ b/mpact/sim/util/gdbserver/gdbserver.cc
@@ -805,7 +805,7 @@ return Respond("T05thread:1;hwbreak:;"); case *HaltReason::kDataWatchPoint: { core_debug_interfaces_[0]->GetWatchpointInfo(address, access_type); - std::string encoded_address = + [[maybe_unused]] std::string encoded_address = HexEncodeNumberInTargetEndianness(debug_info_.GetGprWidth(), address); // Need to differentiate between write (watch), read (rwatch), and // read/write (awatch) watch points.