epan_init(): make 'status' volatile (to avoid might-be-clobbered warnings).
Change-Id: Ic0f1c99a530089f21b08337379a5a0bc7f566b9c Reviewed-on: https://code.wireshark.org/review/11352 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
This commit is contained in:
parent
b85e6a06c0
commit
9b3bda9232
|
@ -97,7 +97,7 @@ epan_init(void (*register_all_protocols_func)(register_cb cb, gpointer client_da
|
|||
register_cb cb,
|
||||
gpointer client_data)
|
||||
{
|
||||
gboolean status = TRUE;
|
||||
volatile gboolean status = TRUE;
|
||||
|
||||
/* initialize memory allocation subsystem */
|
||||
wmem_init();
|
||||
|
|
Loading…
Reference in New Issue