diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-03-15 14:31:14 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-03-15 17:52:16 +0000 |
commit | d6548f9301f6fb077a9aedb5154b3b10b1b9beb1 (patch) | |
tree | 344a343eaa1328185f63a1764b04001d9e5ae653 /epan/dissectors/packet-ocsp.c | |
parent | 830684fc0d6cc94aa7d892c965b722eb306b59a6 (diff) |
Remove unused const variables errors seen with recent Clang version
Fixes bug 9886
Change-Id: I8624ef1c5874aea5521d21c998510fc29c838936
Reviewed-on: https://code.wireshark.org/review/657
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ocsp.c')
-rw-r--r-- | epan/dissectors/packet-ocsp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/epan/dissectors/packet-ocsp.c b/epan/dissectors/packet-ocsp.c index 89ac4f68dd..fab2ae29e8 100644 --- a/epan/dissectors/packet-ocsp.c +++ b/epan/dissectors/packet-ocsp.c @@ -147,11 +147,6 @@ static const char *responseType_id; /*--- Included file: packet-ocsp-fn.c ---*/ #line 1 "../../asn1/ocsp/packet-ocsp-fn.c" -static const value_string ocsp_Version_vals[] = { - { 0, "v1" }, - { 0, NULL } -}; - static int dissect_ocsp_Version(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { @@ -321,7 +316,7 @@ dissect_ocsp_T_responseType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of static int dissect_ocsp_T_response(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 42 "../../asn1/ocsp/ocsp.cnf" +#line 43 "../../asn1/ocsp/ocsp.cnf" gint8 appclass; gboolean pc, ind; gint32 tag; |