We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e109125 commit 4b5511eCopy full SHA for 4b5511e
compiler/src/java_plugin/cpp/java_generator.cpp
@@ -18,6 +18,10 @@
18
#define XSTR(s) STR(s)
19
#endif
20
21
+#ifndef FALLTHROUGH_INTENDED
22
+#define FALLTHROUGH_INTENDED
23
+#endif
24
+
25
namespace java_grpc_generator {
26
27
using google::protobuf::FileDescriptor;
@@ -488,13 +492,15 @@ static void PrintStub(
488
492
break;
489
493
case BLOCKING_CLIENT_INTERFACE:
490
494
interface = true;
495
+ FALLTHROUGH_INTENDED;
491
496
case BLOCKING_CLIENT_IMPL:
497
call_type = BLOCKING_CALL;
498
stub_name += "BlockingStub";
499
client_name += "BlockingClient";
500
501
case FUTURE_CLIENT_INTERFACE:
502
503
504
case FUTURE_CLIENT_IMPL:
505
call_type = FUTURE_CALL;
506
stub_name += "FutureStub";
0 commit comments