diff options
author | Evan Huus <evan.huus@jadedpixel.com> | 2014-06-19 18:27:07 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-06-19 18:27:52 +0000 |
commit | 7398779206eb53ec17bf2f4f4f7fad414b0c7391 (patch) | |
tree | 4f1b4a267937b3da5bf8a24f51df834547c7056b /epan | |
parent | b0bc4d5535b4112cdc71eb87e351bc87aba0c7c5 (diff) |
rename variable to avoid shadow warning
Change-Id: I5934120da2dddf9076972ea3a471191f7dc9596a
Reviewed-on: https://code.wireshark.org/review/2434
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-corosync-totemnet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-corosync-totemnet.c b/epan/dissectors/packet-corosync-totemnet.c index 29d75d3479..81e22cba16 100644 --- a/epan/dissectors/packet-corosync-totemnet.c +++ b/epan/dissectors/packet-corosync-totemnet.c @@ -478,12 +478,12 @@ proto_register_corosync_totemnet(void) void proto_reg_handoff_corosync_totemnet(void) { - static gboolean register_dissector = FALSE; + static gboolean initialized = FALSE; static dissector_handle_t corosync_totemnet_handle; static int port = 0; - if (register_dissector) + if (initialized) { dissector_delete_uint("udp.port", port, corosync_totemnet_handle); dissector_delete_uint("udp.port", port - 1, corosync_totemnet_handle); @@ -494,7 +494,7 @@ proto_reg_handoff_corosync_totemnet(void) proto_corosync_totemnet); corosync_totemsrp_handle = find_dissector("corosync_totemsrp"); - register_dissector = TRUE; + initialized = TRUE; } if (corosync_totemnet_private_keys_list) { |