diff options
author | Vijay Pai <vpai@google.com> | 2015-04-02 10:18:51 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2015-04-02 10:18:51 -0700 |
commit | bd946ebcd7540491a514316f798f8b55621344b3 (patch) | |
tree | a9934bc0cd4d1c29bbb189791099e51d02f05f3a /src | |
parent | e8d6c5b5734c81a0f21ba49911e7a74c8f3f7f2b (diff) | |
parent | 7f13eb2348012e318a78a32ab379b4e27ec71cb4 (diff) |
Merge pull request #1172 from nicolasnoble/warnings
Shutting off warnings about control paths.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/httpcli/parser.c | 2 | ||||
-rw-r--r-- | src/core/transport/chttp2_transport.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/httpcli/parser.c b/src/core/httpcli/parser.c index f4decda98a..7b2a62060c 100644 --- a/src/core/httpcli/parser.c +++ b/src/core/httpcli/parser.c @@ -177,6 +177,8 @@ static int addbyte(grpc_httpcli_parser *parser, gpr_uint8 byte) { } gpr_log(GPR_ERROR, "should never reach here"); abort(); + + return 0; } void grpc_httpcli_parser_init(grpc_httpcli_parser *parser) { diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index 2b15b2a812..4c0394d46f 100644 --- a/src/core/transport/chttp2_transport.c +++ b/src/core/transport/chttp2_transport.c @@ -1710,6 +1710,8 @@ static int process_read(transport *t, gpr_slice slice) { gpr_log(GPR_ERROR, "should never reach here"); abort(); + + return 0; } /* tcp read callback */ |