diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-04-27 17:06:54 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-04-27 17:06:54 +0000 |
commit | 7ba088eaa523f04b6592d3f95b30ca2e115c4b3a (patch) | |
tree | 5948ebea12ad9bee0be48ca589d2c35a34387049 /epan/dissectors/packet-bacnet.c | |
parent | 62cea3bb0a8c6b1ba66b41b968aa64ea3d3747c7 (diff) |
From Yaniv Kaul:
Some fixes for 'set but not used' errors that GCC 4.6 emits.
From me:
#include <stdlib.h> not req'd.
svn path=/trunk/; revision=36905
Diffstat (limited to 'epan/dissectors/packet-bacnet.c')
-rw-r--r-- | epan/dissectors/packet-bacnet.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bacnet.c b/epan/dissectors/packet-bacnet.c index 174faa7b54..b9e07a47b2 100644 --- a/epan/dissectors/packet-bacnet.c +++ b/epan/dissectors/packet-bacnet.c @@ -30,8 +30,6 @@ # include "config.h" #endif -#include <stdlib.h> - #include <glib.h> #include <epan/packet.h> @@ -185,7 +183,6 @@ dissect_bacnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 bacnet_rportnum; guint8 bacnet_pinfolen; guint8 i; - guint8 j; tvbuff_t *next_tvb; col_set_str(pinfo->cinfo, COL_PROTOCOL, "BACnet-NPDU"); @@ -202,7 +199,6 @@ dissect_bacnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) bacnet_rportnum = 0; bacnet_pinfolen =0; i = 0; - j = 0; /* I don't know the length of the NPDU yet; Setting the length after dissection */ ti = proto_tree_add_item(tree, proto_bacnet, tvb, 0, -1, FALSE); |