Skip to content

Commit

Permalink
Fix unused variable warning on upb gencode.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 730961121
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Feb 25, 2025
1 parent 728b376 commit 3369ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/rust/message.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void MessageMutClearAndParse(Context& ctx, const Descriptor& msg) {
};
match status {
Ok(_) => Ok(()),
Err(e) => Err($pb$::ParseError),
Err(_) => Err($pb$::ParseError),
}
)rs");
return;
Expand Down

0 comments on commit 3369ca4

Please sign in to comment.