home/martin/wireshark/epan/dissectors/packet-http2.c: In function ‘http2_get_stream_id’:
/home/martin/wireshark/epan/dissectors/packet-http2.c:1124:21: error: ‘http2_session_t’ has no member named ‘current_stream_id’
return h2session->current_stream_id;
^
/home/martin/wireshark/epan/dissectors/packet-http2.c:1125:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
Should http_get_stream_id just return 0 if HAVE_NGHTTP2 is not defined, or is it best not to even call it?