summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ansi_683.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-07-30 00:40:32 +0000
committerGerald Combs <gerald@wireshark.org>2009-07-30 00:40:32 +0000
commit0cceb40317eb1e0695d2125f1b29e16c8811dd6e (patch)
tree92aa7e919af0eefbaae71f06337945d9a1011d92 /epan/dissectors/packet-ansi_683.c
parent89a44fcd36dd9305d512a410fe35ad9e6d4f416c (diff)
downloadwireshark-0cceb40317eb1e0695d2125f1b29e16c8811dd6e.tar.gz
Remove some unused variables.
svn path=/trunk/; revision=29242
Diffstat (limited to 'epan/dissectors/packet-ansi_683.c')
-rw-r--r--epan/dissectors/packet-ansi_683.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/epan/dissectors/packet-ansi_683.c b/epan/dissectors/packet-ansi_683.c
index 750d6d858b..01783c6273 100644
--- a/epan/dissectors/packet-ansi_683.c
+++ b/epan/dissectors/packet-ansi_683.c
@@ -1164,7 +1164,6 @@ rev_param_block_nam_cdma(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 off
static void
param_block_nam_imsi_t(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
- guint32 saved_offset;
guint32 value;
/*
@@ -1173,8 +1172,6 @@ param_block_nam_imsi_t(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offse
*/
len = len;
- saved_offset = offset;
-
value = tvb_get_guint8(tvb, offset);
other_decode_bitfield_value(bigbuf, value, 0x80, 8);
@@ -1524,11 +1521,8 @@ for_param_block_val_spc(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offs
static void
for_param_block_val_spasm(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
- guint32 saved_offset;
guint32 value;
- saved_offset = offset;
-
if (len == 1)
{
value = tvb_get_guint8(tvb, offset);
@@ -2132,12 +2126,9 @@ static void
msg_otapa_req(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
guint8 oct;
- guint32 saved_offset;
EXACT_DATA_CHECK(len, 1);
- saved_offset = offset;
-
oct = tvb_get_guint8(tvb, offset);
other_decode_bitfield_value(bigbuf, oct, 0x80, 8);
@@ -3074,12 +3065,9 @@ msg_ms_key_rsp(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
guint8 oct;
const gchar *str = NULL;
- guint32 saved_offset;
EXACT_DATA_CHECK(len, 1);
- saved_offset = offset;
-
oct = tvb_get_guint8(tvb, offset);
str = rev_res_code_type(oct);
@@ -3143,13 +3131,10 @@ msg_key_gen_rsp(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
static void
msg_reauth_rsp(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
- guint32 saved_offset;
guint32 value;
EXACT_DATA_CHECK(len, 7);
- saved_offset = offset;
-
value = tvb_get_ntoh24(tvb, offset);
other_decode_bitfield_value(bigbuf, value, 0xffffc0, 24);
@@ -3197,12 +3182,9 @@ msg_commit_rsp(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
guint8 oct;
const gchar *str = NULL;
- guint32 saved_offset;
EXACT_DATA_CHECK(len, 1);
- saved_offset = offset;
-
oct = tvb_get_guint8(tvb, offset);
str = rev_res_code_type(oct);
@@ -3428,13 +3410,10 @@ msg_sspr_download_rsp(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset
{
guint8 oct, block_id;
const gchar *str = NULL;
- guint32 saved_offset;
guint32 value;
EXACT_DATA_CHECK(len, 5);
- saved_offset = offset;
-
block_id = tvb_get_guint8(tvb, offset);
str = for_param_block_sspr(block_id);
@@ -3956,12 +3935,9 @@ msg_secure_mode_rsp(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
guint8 oct;
const gchar *str = NULL;
- guint32 saved_offset;
EXACT_DATA_CHECK(len, 1);
- saved_offset = offset;
-
oct = tvb_get_guint8(tvb, offset);
str = rev_res_code_type(oct);
@@ -4423,12 +4399,9 @@ msg_srvckey_gen_rsp(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
{
guint8 oct;
const gchar *str = NULL;
- guint32 saved_offset;
EXACT_DATA_CHECK(len, 1);
- saved_offset = offset;
-
oct = tvb_get_guint8(tvb, offset);
str = rev_res_code_type(oct);