forked from osmocom/wireshark
bluecom: fix compilation with gcc-4.
../epan/dissectors/packet-bluecom.c: In function 'dissect_bluecom': ../epan/dissectors/packet-bluecom.c:498:43: error: variable 'block' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] guint cmd, flags, blocknb, segcode=0, block; Change-Id: I148ba4bc6b3e026f0626120235c59305b5204529 Reviewed-on: https://code.wireshark.org/review/27119 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
180a9975a1
commit
e01fcb7a3c
|
@ -495,7 +495,8 @@ dissect_bcp_protocol_header(proto_tree *bcp_tree, tvbuff_t *tvb,
|
|||
*/
|
||||
static int dissect_bluecom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
|
||||
{
|
||||
guint cmd, flags, blocknb, segcode=0, block;
|
||||
guint cmd, flags, blocknb, segcode=0;
|
||||
volatile guint block;
|
||||
guint len;
|
||||
volatile guint offset = 0;
|
||||
proto_tree *bcp_tree = NULL;
|
||||
|
|
Loading…
Reference in New Issue