aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-11 03:50:02 -0700
committerGuy Harris <guy@alum.mit.edu>2017-05-11 10:50:45 +0000
commit871a8a2cccf79fae30c30a99fa21a4fa4dfbae16 (patch)
tree92d7fd39a5164cd040b5b211e531a1b66eaa46b3
parent804d0cdfa362a0243ee2f24b39af87539983c954 (diff)
Another shadowing fix for abort().
Change-Id: I991bd24ab8b64bdfeae275941d79b716da3309f9 Reviewed-on: https://code.wireshark.org/review/21592 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--epan/dissectors/packet-epl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c
index c3e9660829..8a5daa0826 100644
--- a/epan/dissectors/packet-epl.c
+++ b/epan/dissectors/packet-epl.c
@@ -3301,7 +3301,7 @@ dissect_epl_sdo_command_write_multiple_by_index(proto_tree *epl_tree, tvbuff_t *
guint8 subindex = 0x00, padding = 0x00;
guint16 idx = 0x00, sod_index = 0x00, nosub = 0x00 ,error = 0xFF, entries = 0x00, sub_val = 0x00;
guint32 size, offsetincrement, datalength, remlength, objectcnt, abort_code = 0;
- gboolean lastentry = FALSE, abort = FALSE;
+ gboolean lastentry = FALSE, is_abort = FALSE;
const gchar *index_str, *sub_str, *sub_index_str;
proto_item *psf_item;
proto_tree *psf_tree, *psf_od_tree;
@@ -3542,7 +3542,7 @@ dissect_epl_sdo_command_write_multiple_by_index(proto_tree *epl_tree, tvbuff_t *
while ( remlength > 0 )
{
if ((tvb_get_guint8 ( tvb, offset + 3 ) & 0x80) == 0x80)
- abort = TRUE;
+ is_abort = TRUE;
/* add object subtree */
psf_od_tree = proto_tree_add_subtree(epl_tree, tvb, offset, 8, 0, NULL , "OD");
@@ -3599,7 +3599,7 @@ dissect_epl_sdo_command_write_multiple_by_index(proto_tree *epl_tree, tvbuff_t *
dataoffset += 1;
- if (abort)
+ if (is_abort)
{
abort_code = tvb_get_letohl(tvb, dataoffset);
@@ -3608,7 +3608,7 @@ dissect_epl_sdo_command_write_multiple_by_index(proto_tree *epl_tree, tvbuff_t *
psf_item = proto_tree_add_item(psf_od_tree, hf_epl_sdo_multi_param_sub_abort, tvb, dataoffset, 4, ENC_LITTLE_ENDIAN);
proto_item_append_text(psf_item," (%s)", val_to_str_ext_const(abort_code, &sdo_cmd_abort_code_ext, "Unknown"));
- abort = FALSE;
+ is_abort = FALSE;
}
objectcnt++;