forked from osmocom/wireshark
atn cm/cpdlc : fix variable ‘atn_cv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] found by gcc6
Change-Id: If7541384aeb305b93963dd44d535015ea245f5ac Reviewed-on: https://code.wireshark.org/review/13879 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
b7a54039ac
commit
269dcc997b
|
@ -104,7 +104,7 @@ dissect_atn_cm_heur(
|
|||
proto_tree *tree,
|
||||
void *data _U_)
|
||||
{
|
||||
atn_conversation_t *atn_cv = NULL;
|
||||
atn_conversation_t *volatile atn_cv = NULL;
|
||||
volatile gboolean is_atn_cm = FALSE;
|
||||
int type;
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ dissect_atn_cpdlc_heur(
|
|||
proto_tree *tree,
|
||||
void *data _U_)
|
||||
{
|
||||
atn_conversation_t *atn_cv = NULL;
|
||||
atn_conversation_t *volatile atn_cv = NULL;
|
||||
volatile gboolean is_atn_cpdlc = FALSE;
|
||||
volatile gboolean is_pm = FALSE;
|
||||
int type;
|
||||
|
|
|
@ -677,7 +677,7 @@ dissect_atn_cm_heur(
|
|||
proto_tree *tree,
|
||||
void *data _U_)
|
||||
{
|
||||
atn_conversation_t *atn_cv = NULL;
|
||||
atn_conversation_t *volatile atn_cv = NULL;
|
||||
volatile gboolean is_atn_cm = FALSE;
|
||||
int type;
|
||||
|
||||
|
|
|
@ -5423,7 +5423,7 @@ dissect_atn_cpdlc_heur(
|
|||
proto_tree *tree,
|
||||
void *data _U_)
|
||||
{
|
||||
atn_conversation_t *atn_cv = NULL;
|
||||
atn_conversation_t *volatile atn_cv = NULL;
|
||||
volatile gboolean is_atn_cpdlc = FALSE;
|
||||
volatile gboolean is_pm = FALSE;
|
||||
int type;
|
||||
|
|
Loading…
Reference in New Issue