diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-10-31 13:09:04 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-10-31 13:09:04 +0000 |
commit | bdfdec8492e8fe006889e7443727e78b87b54558 (patch) | |
tree | 42b741e4a3bc461280557e2838fa5719b5b18004 /epan/dissectors/packet-uasip.c | |
parent | be96ac69d78d7cafd3bed57ad1325ef02ecb3a5c (diff) |
Try to fix packet-uasip.c:486: warning: 'uasip_handle' may be used uninitialized in this function
svn path=/trunk/; revision=45848
Diffstat (limited to 'epan/dissectors/packet-uasip.c')
-rw-r--r-- | epan/dissectors/packet-uasip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-uasip.c b/epan/dissectors/packet-uasip.c index ac48b6eee4..3d25dc5412 100644 --- a/epan/dissectors/packet-uasip.c +++ b/epan/dissectors/packet-uasip.c @@ -483,7 +483,7 @@ void proto_register_uasip(void) void proto_reg_handoff_uasip(void) { - dissector_handle_t uasip_handle; + static dissector_handle_t uasip_handle; static gboolean prefs_initialized = FALSE; if (!prefs_initialized) |