aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-zbee-aps.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-05-19 20:13:54 +0000
committerBill Meier <wmeier@newsguy.com>2011-05-19 20:13:54 +0000
commitd03ad5ad6ba2172b4aa693d09366cbf68fcd6ace (patch)
treef7dc16d595fc46fccc4240ad4f09abb39f174796 /epan/dissectors/packet-zbee-aps.c
parentb2561a408c6be564f8118824956c28bc898aa513 (diff)
Don't assign a value which is never used to a 'proto item *': Covertiy 1135;
Remove some unneeded #includes. svn path=/trunk/; revision=37305
Diffstat (limited to 'epan/dissectors/packet-zbee-aps.c')
-rw-r--r--epan/dissectors/packet-zbee-aps.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-zbee-aps.c b/epan/dissectors/packet-zbee-aps.c
index bfb47b06fc..793e05ce5d 100644
--- a/epan/dissectors/packet-zbee-aps.c
+++ b/epan/dissectors/packet-zbee-aps.c
@@ -30,9 +30,7 @@
#endif /* HAVEHCONFIG_H */
#include <string.h>
-#include <stdlib.h>
#include <glib.h>
-#include <gmodule.h>
#include <epan/packet.h>
#include <epan/prefs.h> /* req'd for packet-zbee-security.h */
#include <epan/expert.h>
@@ -751,8 +749,8 @@ dissect_zbee_aps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
packet.profile = tvb_get_letohs(tvb, offset);
profile_handle = dissector_get_uint_handle(zbee_aps_dissector_table, packet.profile);
if (tree) {
- ti = proto_tree_add_uint(aps_tree, hf_zbee_aps_profile, tvb, offset,2,
- packet.profile);
+ proto_tree_add_uint(aps_tree, hf_zbee_aps_profile, tvb, offset,2,
+ packet.profile);
/* Update the protocol root and info column later, after the source endpoint
* so that the source and destination will be back-to-back in the text.
*/