diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-18 17:24:21 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-18 17:24:21 +0000 |
commit | e9463ef07f4beeb05238a9f9c201c7da27fa7be2 (patch) | |
tree | 892e57e326f1c18b670224a1886fc67db05200e1 | |
parent | e5fc3c8c4b9bea514e0cd8588f32c6beb27e22fa (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=47733
-rw-r--r-- | epan/dissectors/packet-sml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sml.c b/epan/dissectors/packet-sml.c index d134285112..9531b45174 100644 --- a/epan/dissectors/packet-sml.c +++ b/epan/dissectors/packet-sml.c @@ -1168,7 +1168,7 @@ static void child_tree(tvbuff_t *tvb, packet_info *pinfo, proto_tree *insert_tre check = tvb_get_guint8(tvb, *offset); if (check == OPTIONAL){ - child = proto_tree_add_text (insert_tree, tvb, *offset, 1, "Child List: NOT SET"); + proto_tree_add_text (insert_tree, tvb, *offset, 1, "Child List: NOT SET"); *offset+=1; } else if ((check & 0x0F) != 0){ |