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
This commit is contained in:
Bill Meier 2011-04-27 17:06:54 +00:00
parent 62cea3bb0a
commit 7ba088eaa5
1 changed files with 0 additions and 4 deletions

View File

@ -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);