From f51e366267de3f98fe63ac9ec3271be4e7e4c55c Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Mon, 12 Jun 2006 21:48:51 +0000 Subject: Fix some warnings. svn path=/trunk/; revision=18445 --- asn1/ldap/packet-ldap-template.c | 2 +- epan/dissectors/packet-ldap.c | 4 ++-- epan/dissectors/packet-ldap.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c index 6b2a894807..b3944797d9 100644 --- a/asn1/ldap/packet-ldap-template.c +++ b/asn1/ldap/packet-ldap-template.c @@ -264,7 +264,7 @@ dissect_ldap_AssertionValue(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset offset=get_ber_length(NULL, tvb, offset, &len, &ind); if(len==0){ - return; + return offset; } /* check whether the string is ascii or binary */ diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c index bace143fc3..a58be73e38 100644 --- a/epan/dissectors/packet-ldap.c +++ b/epan/dissectors/packet-ldap.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ -/* ./packet-ldap.c */ +/* .\packet-ldap.c */ /* ../../tools/asn2wrs.py -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn */ /* Input file: packet-ldap-template.c */ @@ -416,7 +416,7 @@ dissect_ldap_AssertionValue(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset offset=get_ber_length(NULL, tvb, offset, &len, &ind); if(len==0){ - return; + return offset; } /* check whether the string is ascii or binary */ diff --git a/epan/dissectors/packet-ldap.h b/epan/dissectors/packet-ldap.h index 93cdd7638d..da424bbacd 100644 --- a/epan/dissectors/packet-ldap.h +++ b/epan/dissectors/packet-ldap.h @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ -/* ./packet-ldap.h */ +/* .\packet-ldap.h */ /* ../../tools/asn2wrs.py -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn */ /* Input file: packet-ldap-template.h */ -- cgit v1.2.3