diff options
author | Joerg Mayer <jmayer@loplof.de> | 2014-06-01 21:55:21 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2014-06-01 19:58:13 +0000 |
commit | 6f15d7a86516f485d95d3c9780645d074a58bf55 (patch) | |
tree | dd275a52efc55acc8313f1af741be872237b2c17 /wsutil | |
parent | d55bb723e22675bfa65b8e2d7598aeaad34e9c5c (diff) |
Fix /home/jmayer/work/wireshark/git/wsutil/nghttp2/nghttp2_hd.c:996:12: error: ‘check_index_range’ defined but not used [-Werror=unused-function]
static int check_index_range(nghttp2_hd_context *context, size_t idx)
^
cc1: all warnings being treated as errors
Change-Id: Ie8e3fe12d339a689e0222eda501b253a7d6d923c
Reviewed-on: https://code.wireshark.org/review/1912
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/nghttp2/nghttp2_hd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wsutil/nghttp2/nghttp2_hd.c b/wsutil/nghttp2/nghttp2_hd.c index f31e74edc1..3ad97219ae 100644 --- a/wsutil/nghttp2/nghttp2_hd.c +++ b/wsutil/nghttp2/nghttp2_hd.c @@ -993,10 +993,12 @@ static void clear_refset(nghttp2_hd_context *context) } } +#if 0 static int check_index_range(nghttp2_hd_context *context, size_t idx) { return idx < context->hd_table.len + STATIC_TABLE_LENGTH; } +#endif static int get_max_index(nghttp2_hd_context *context) { |