diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-07-30 00:40:32 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-07-30 00:40:32 +0000 |
commit | 55f5761bc75cf940bcf63bf788bbf345207d781e (patch) | |
tree | 92aa7e919af0eefbaae71f06337945d9a1011d92 | |
parent | 653d15ab8f7a91625d6110f14622d2f1275c5d28 (diff) |
Remove some unused variables.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29242 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/dissectors/packet-ansi_683.c | 27 |
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); |