Fix android NDK build error

This commit is contained in:
Tatsuhiro Tsujikawa 2015-04-07 21:25:05 +09:00
parent d56ecd7414
commit b2bb6f1db1
1 changed files with 2 additions and 1 deletions

View File

@ -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) { 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; nghttp2_outbound_item *item;
assert(stream->item); assert(stream->item);