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:
Alexis La Goutte 2016-02-10 12:40:28 +01:00 committed by Anders Broman
parent b7a54039ac
commit 269dcc997b
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;