diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-07 15:16:35 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-07 15:16:35 +0000 |
commit | 785c801b2a2e54c776faff18882f4918482dbd8a (patch) | |
tree | 8a9608d724719a44a0a7926a5e07551ab238af9b /epan/dissectors/packet-sbus.c | |
parent | 36a139bddb7aa96487116870d6bda4b91b3968d9 (diff) |
Remove some unused 'GMemChunk *' variables and se_alloc() to same.
(Found by using -DG_DISABLE_DEPRECATED when compiling dissectors).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38390 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sbus.c')
-rw-r--r-- | epan/dissectors/packet-sbus.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-sbus.c b/epan/dissectors/packet-sbus.c index 8397fdc5f6..ab1602bdee 100644 --- a/epan/dissectors/packet-sbus.c +++ b/epan/dissectors/packet-sbus.c @@ -546,10 +546,8 @@ typedef struct { nstime_t req_time; /*time of the last request*/ } sbus_request_val; -/* The hash/GMemChunk structure (for conversations)*/ +/* The hash structure (for conversations)*/ static GHashTable *sbus_request_hash = NULL; -static GMemChunk *sbus_request_keys = NULL; -static GMemChunk *sbus_request_vals = NULL; static guint crc_calc (guint crc, guint val) { @@ -589,8 +587,6 @@ static void sbus_init_protocol(void){ g_hash_table_destroy(sbus_request_hash); } sbus_request_hash = g_hash_table_new(sbus_hash, sbus_equal); - sbus_request_keys = se_alloc(sizeof(sbus_request_key)); - sbus_request_vals = se_alloc(sizeof(sbus_request_val)); } /* check whether the packet looks like SBUS or not */ |