diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-12-04 16:31:10 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-12-04 16:31:10 +0000 |
commit | 4ab1b84a89d9504910a48532af30064b0575f33e (patch) | |
tree | 32339746b31c4d4c7837f6be0c06f7a5692085e9 /epan/dissectors/packet-ncp2222.inc | |
parent | c9622178cf31ca763dcba946101013491cdf2a56 (diff) |
Fix 2 [-Wshadow] warnings.
svn path=/trunk/; revision=46369
Diffstat (limited to 'epan/dissectors/packet-ncp2222.inc')
-rw-r--r-- | epan/dissectors/packet-ncp2222.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-ncp2222.inc b/epan/dissectors/packet-ncp2222.inc index eca1ce2b19..e8055b0210 100644 --- a/epan/dissectors/packet-ncp2222.inc +++ b/epan/dissectors/packet-ncp2222.inc @@ -7419,7 +7419,7 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo, volatile gboolean run_info_str = FALSE; guint32 length_remaining; guint32 testvar; - volatile unsigned long except_code; + volatile unsigned long exception_code; const char *volatile message; @@ -7569,7 +7569,7 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo, * CLEANUP_POP or CLEANUP_POP_AND_ALLOC. So, we always * call CLEANUP_POP and friends, but the value of temp_tree is * NULL if no cleanup is needed, and non-null if cleanup is needed. */ - CLEANUP_PUSH(free_proto_tree, temp_tree); + CLEANUP_PUSH_PFX(xx,free_proto_tree, temp_tree); #ifdef FAKE_TREE_IS_VISIBLE PTREE_DATA(ncp_tree)->visible=1; @@ -7645,7 +7645,7 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree_add_uint_format(ncp_tree, hf_ncp_group, tvb, 0, 0, ncp_rec->group, "Group: %s", ncp_groups[ncp_rec->group]); } - except_code = 0; + exception_code = 0; message = NULL; if (ncp_rec && ncp_rec->request_ptvc) { clear_repeat_vars(); @@ -7661,7 +7661,7 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo, TRY { process_ptvc_record(ptvc, ncp_rec->request_ptvc, NULL, TRUE, ncp_rec); } CATCH_ALL { - except_code = EXCEPT_CODE; + exception_code = EXCEPT_CODE; message = GET_MESSAGE; } ENDTRY; @@ -7838,11 +7838,11 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo, /* Check to see if we need to report to the expert table */ trap_for_expert_event(ncp_tree, pinfo, ncp_rec, 0); /* Free the temporary proto_tree */ - CLEANUP_CALL_AND_POP; + CLEANUP_CALL_AND_POP_PFX(xx); /* Re-throw any exception. */ - if (except_code != 0) - THROW_MESSAGE(except_code, message); + if (exception_code != 0) + THROW_MESSAGE(exception_code, message); } } |