From 8606b769d952b3468d4bd535a96613c76b5f2e8b Mon Sep 17 00:00:00 2001 From: gram Date: Thu, 11 Jan 2001 16:27:23 +0000 Subject: [PATCH] Only define next_pd and next_offet if HAVE_PLUGINS is #defined, since that's the only time they're used. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2875 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-udp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packet-udp.c b/packet-udp.c index ee0010e799..f853bfeb70 100644 --- a/packet-udp.c +++ b/packet-udp.c @@ -1,7 +1,7 @@ /* packet-udp.c * Routines for UDP packet disassembly * - * $Id: packet-udp.c,v 1.84 2001/01/09 06:31:44 guy Exp $ + * $Id: packet-udp.c,v 1.85 2001/01/11 16:27:23 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -84,8 +84,10 @@ decode_udp_ports(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int uh_sport, int uh_dport) { tvbuff_t *next_tvb; +#ifdef HAVE_PLUGINS const u_char *next_pd; int next_offset; +#endif next_tvb = tvb_new_subset(tvb, offset, -1, -1); -- 2.34.1