Remove some unused variables.
svn path=/trunk/; revision=29242
This commit is contained in:
parent
89a44fcd36
commit
0cceb40317
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue