From b2bb6f1db116c14254d5922c577869bd7e08be66 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 7 Apr 2015 21:25:05 +0900 Subject: [PATCH] Fix android NDK build error --- lib/nghttp2_stream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/nghttp2_stream.c b/lib/nghttp2_stream.c index cdb67f2f..09b70d79 100644 --- a/lib/nghttp2_stream.c +++ b/lib/nghttp2_stream.c @@ -87,7 +87,8 @@ void nghttp2_stream_shutdown(nghttp2_stream *stream, nghttp2_shut_flag flag) { } static int stream_push_item(nghttp2_stream *stream, nghttp2_session *session) { - int rv; + /* This is required for Android NDK r10d */ + int rv = 0; nghttp2_outbound_item *item; assert(stream->item);