Skip to content

Commit

Permalink
remove local var jakarta_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
panchenko committed Apr 8, 2024
1 parent ee6a7a8 commit c0aaad9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/src/java_plugin/cpp/java_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class JavaGrpcGenerator : public protobuf::compiler::CodeGenerator {

java_grpc_generator::ProtoFlavor flavor =
java_grpc_generator::ProtoFlavor::NORMAL;
java_grpc_generator::GeneratedAnnotation::generated_annotation ==
java_grpc_generator::GeneratedAnnotation generated_annotation ==
java_grpc_generator::GeneratedAnnotation::JAVAX;

/*
Expand All @@ -67,7 +67,6 @@ class JavaGrpcGenerator : public protobuf::compiler::CodeGenerator {
omit, "less controversial" = just add @io.grpc.stub.annotations.GrpcGenerated
and maybe others in the future
*/
std::string jakarta_mode;
bool disable_version = false;
for (size_t i = 0; i < options.size(); i++) {
if (options[i].first == "lite") {
Expand Down

0 comments on commit c0aaad9

Please sign in to comment.