packet-btavctp.c:107: warning: 'number_of_packets' may be used uninitialized in this function

packet-btavctp.c:105: warning: 'pid' may be used uninitialized in this function

svn path=/trunk/; revision=45100
This commit is contained in:
Anders Broman 2012-09-24 12:51:34 +00:00
parent 3bc8e5ff68
commit 44e5ddb9c9
1 changed files with 2 additions and 2 deletions

View File

@ -102,9 +102,9 @@ dissect_btavctp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
gint offset = 0;
unsigned int packet_type;
unsigned int cr;
unsigned int pid;
unsigned int pid = 0;
unsigned int transaction;
unsigned int number_of_packets;
unsigned int number_of_packets = 0;
unsigned int i_frame;
fragment_t *fragment;
void *save_private_data;