aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-opensafety.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-29 17:34:21 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-29 17:34:21 +0000
commit1acb42024885bd0a90572fa4a8d2f13205485256 (patch)
tree218da4f2b3d8260aa2e0915d860fa4a808211db5 /epan/dissectors/packet-opensafety.c
parent508cb1aa2f5a5aad56ddc8d1e4640c95206d56bc (diff)
downloadwireshark-1acb42024885bd0a90572fa4a8d2f13205485256.tar.gz
wireshark-1acb42024885bd0a90572fa4a8d2f13205485256.tar.bz2
wireshark-1acb42024885bd0a90572fa4a8d2f13205485256.zip
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41825
Diffstat (limited to 'epan/dissectors/packet-opensafety.c')
-rw-r--r--epan/dissectors/packet-opensafety.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-opensafety.c b/epan/dissectors/packet-opensafety.c
index a42f22d281..903f5d24b6 100644
--- a/epan/dissectors/packet-opensafety.c
+++ b/epan/dissectors/packet-opensafety.c
@@ -671,9 +671,6 @@ dissect_opensafety_spdo_message(tvbuff_t *message_tvb, packet_info *pinfo, proto
/* An SPDO get's always send by the producer, to everybody else */
PACKET_SENDER( pinfo, OSS_FRAME_ADDR(bytes, frameStart1), OSS_FRAME_POS_ADDR + frameStart1, frameStart2, taddr );
- if ( taddr < 0 )
- taddr = 0;
-
item = proto_tree_add_uint_format_value(opensafety_tree, hf_oss_msg_category, message_tvb,
OSS_FRAME_POS_ID + frameStart1, 1, OPENSAFETY_SPDO_MESSAGE_TYPE,
"%s", val_to_str_const(OPENSAFETY_SPDO_MESSAGE_TYPE, message_id_values, "Unknown") );