Squelch a qualifier-discard warning.

svn path=/trunk/; revision=46664
This commit is contained in:
Guy Harris 2012-12-21 11:04:10 +00:00
parent b1d5b64da6
commit 954b90418a
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ gint pdu_type=-1;
expert_add_info_format( actx->pinfo, authen_item, PI_MALFORMED, PI_ERROR, "Error while verifying Message authenticity: %s", error );
} else {
int severity;
gchar* msg;
const gchar* msg;
authen_item = proto_tree_add_boolean(authen_tree, hf_snmp_msgAuthentication, tvb, 0, 0, usm_p.authOK);
PROTO_ITEM_SET_GENERATED(authen_item);

View File

@ -2473,7 +2473,7 @@ dissect_snmp_SNMPv3Message(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int off
expert_add_info_format( actx->pinfo, authen_item, PI_MALFORMED, PI_ERROR, "Error while verifying Message authenticity: %s", error );
} else {
int severity;
gchar* msg;
const gchar* msg;
authen_item = proto_tree_add_boolean(authen_tree, hf_snmp_msgAuthentication, tvb, 0, 0, usm_p.authOK);
PROTO_ITEM_SET_GENERATED(authen_item);