From 6d1791db07876c522028a277f417563e7f115052 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 25 Sep 2007 16:51:49 +0000 Subject: [PATCH] Fix: packet-ldap-template.c(1330) : error C2220: warning treated as error - no object file generated packet-ldap-template.c(1330) : warning C4101: 'gss_len' : unreferenced local var iable NMAKE : fatal error U1077: 'cl' : svn path=/trunk/; revision=22956 --- asn1/ldap/packet-ldap-template.c | 1 - epan/dissectors/packet-ldap.c | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c index c3d8227128..16f446173b 100644 --- a/asn1/ldap/packet-ldap-template.c +++ b/asn1/ldap/packet-ldap-template.c @@ -1327,7 +1327,6 @@ static void dissect_ldap_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint32 sasl_len; - guint32 gss_len; guint32 ldap_len; int offset; gboolean ind; diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c index a4e97a14f2..7d94e194ad 100644 --- a/epan/dissectors/packet-ldap.c +++ b/epan/dissectors/packet-ldap.c @@ -3570,7 +3570,6 @@ static void dissect_ldap_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint32 sasl_len; - guint32 gss_len; guint32 ldap_len; int offset; gboolean ind; @@ -4322,7 +4321,7 @@ void proto_register_ldap(void) { "ldap.INTEGER", HFILL }}, /*--- End of included file: packet-ldap-hfarr.c ---*/ -#line 1626 "packet-ldap-template.c" +#line 1625 "packet-ldap-template.c" }; /* List of subtrees */ @@ -4380,7 +4379,7 @@ void proto_register_ldap(void) { &ett_ldap_ReplControlValue, /*--- End of included file: packet-ldap-ettarr.c ---*/ -#line 1637 "packet-ldap-template.c" +#line 1636 "packet-ldap-template.c" }; module_t *ldap_module; @@ -4493,7 +4492,7 @@ proto_reg_handoff_ldap(void) /*--- End of included file: packet-ldap-dis-tab.c ---*/ -#line 1740 "packet-ldap-template.c" +#line 1739 "packet-ldap-template.c" }