Fix compiler warning on enum gencode about unused fn parameter (just prefix with _)

PiperOrigin-RevId: 684491297
pull/18765/head
Protobuf Team Bot 2 months ago committed by Copybara-Service
parent 2a52b900a1
commit 919589029f
  1. 2
      src/google/protobuf/compiler/rust/enum.cc

@ -159,7 +159,7 @@ void EnumProxiedInMapValue(Context& ctx, const EnumDescriptor& desc) {
}
unsafe fn into_message_value_fuse_if_required(
raw_parent_arena: $pbr$::RawArena,
_raw_parent_arena: $pbr$::RawArena,
val: Self) -> $pbr$::upb_MessageValue {
$pbr$::upb_MessageValue { int32_val: val.0 }
}

Loading…
Cancel
Save