aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-opensafety.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-09-02 22:53:05 -0400
committerAnders Broman <a.broman58@gmail.com>2015-09-03 06:05:43 +0000
commit2be3820912ecee71f0feb5fcc36fdfa53041908d (patch)
tree9a0ca48cdbe7f70833ac5fcfb663ac70938e91a5 /epan/dissectors/packet-opensafety.c
parent32e785f81320342058bbee95f84095cd55449c09 (diff)
Address "shadow" warnings found by checkAPI script.
These aren't "true" shadow issues, but the script doesn't completely understand C syntax (for things like struct member names "time" and "index"). But fixing them creates less noise. Change-Id: I5a2db1549095824530428529e86cab453c031a04 Reviewed-on: https://code.wireshark.org/review/10368 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-opensafety.c')
-rw-r--r--epan/dissectors/packet-opensafety.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-opensafety.c b/epan/dissectors/packet-opensafety.c
index 124bf58cd2..aa6874cb04 100644
--- a/epan/dissectors/packet-opensafety.c
+++ b/epan/dissectors/packet-opensafety.c
@@ -1346,7 +1346,7 @@ opensafety_parse_scm_udid ( tvbuff_t* tvb, packet_info *pinfo, proto_tree *tree,
scm_udid_test = tvb_bytes_to_str_punct(wmem_packet_scope(), tvb, offset, 6, ':' );
- if ( scm_udid_test != NULL && strlen ( scm_udid_test ) == 17 )
+ if ( scm_udid_test != NULL && strlen( scm_udid_test ) == 17 )
{
if ( g_strcmp0("00:00:00:00:00:00", scm_udid_test ) != 0 )
{
@@ -1806,7 +1806,7 @@ dissect_opensafety_message(opensafety_packet_info *packet,
}
- if ( strlen ( (local_scm_udid != NULL ? local_scm_udid : global_scm_udid) ) > 0 && scmUDID->len == 6 )
+ if ( strlen( (local_scm_udid != NULL ? local_scm_udid : global_scm_udid) ) > 0 && scmUDID->len == 6 )
{
if ( local_scm_udid != NULL )
{