aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atn-cpdlc.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-02-10 12:40:28 +0100
committerAnders Broman <a.broman58@gmail.com>2016-02-11 14:53:13 +0000
commit269dcc997b8ef8bac5e97c51ae94c741603d536e (patch)
tree70d08e5921ce78e9879ec5b31cbae157f661dcd5 /epan/dissectors/packet-atn-cpdlc.c
parentb7a54039ac5a0b858f25b73b06132decc9c147ab (diff)
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>
Diffstat (limited to 'epan/dissectors/packet-atn-cpdlc.c')
-rw-r--r--epan/dissectors/packet-atn-cpdlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-atn-cpdlc.c b/epan/dissectors/packet-atn-cpdlc.c
index 81f7fac119..ad2517579c 100644
--- a/epan/dissectors/packet-atn-cpdlc.c
+++ b/epan/dissectors/packet-atn-cpdlc.c
@@ -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;