aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-01-11 11:41:03 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-01-11 11:41:03 +0000
commitb2992b2310da1adefc46e0a9f6e43454ebd882f7 (patch)
treef3e50c063e04c563e79cfa8ac09fb4ddab6bfd5a /asn1
parent1ea96b1e302c57bb4deb0aad1e0482ba9e482b14 (diff)
ldap.cnf:782: warning: ISO C90 forbids mixed declarations and code
svn path=/trunk/; revision=35476
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ldap/ldap.cnf2
1 files changed, 1 insertions, 1 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) {