diff options
-rw-r--r-- | asn1/ldap/ldap.cnf | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-ldap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/ldap/ldap.cnf b/asn1/ldap/ldap.cnf index 419ff03293..7d7e45788c 100644 --- a/asn1/ldap/ldap.cnf +++ b/asn1/ldap/ldap.cnf @@ -767,6 +767,7 @@ offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, &v gint32 tag; guint32 len; gint32 val; + header_field_info *hfinfo; int otheroffset = offset; if(!implicit_tag){ @@ -779,7 +780,6 @@ offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, &v offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, -1, &val); - header_field_info *hfinfo; hfinfo = proto_registrar_get_nth(hf_index); if (val >0) { diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c index b5802e8070..18429316bb 100644 --- a/epan/dissectors/packet-ldap.c +++ b/epan/dissectors/packet-ldap.c @@ -3280,6 +3280,7 @@ dissect_ldap_DirSyncFlags(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offs gint32 tag; guint32 len; gint32 val; + header_field_info *hfinfo; int otheroffset = offset; if(!implicit_tag){ @@ -3292,7 +3293,6 @@ dissect_ldap_DirSyncFlags(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offs offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, -1, &val); - header_field_info *hfinfo; hfinfo = proto_registrar_get_nth(hf_index); if (val >0) { |