Properly declare a variable as volatile, as the longjmp done by the

exception mechanism might clobber it otherwise.

svn path=/trunk/; revision=12809
This commit is contained in:
Guy Harris 2004-12-22 00:30:39 +00:00
parent 7402efa058
commit ce604f09d8
1 changed files with 1 additions and 1 deletions

View File

@ -1687,7 +1687,7 @@ dissect_ieee80211_common (tvbuff_t * tvb, packet_info * pinfo,
char out_buff[SHORT_STR];
gint is_iv_bad;
guchar iv_buff[4];
wlan_hdr *whdr;
wlan_hdr *volatile whdr;
static wlan_hdr whdrs[4];
whdr= &whdrs[0];