diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-18 15:29:25 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-18 15:29:25 +0000 |
commit | f30bce9530cc4c851b8be4625276d26e4fd752a8 (patch) | |
tree | cbd6c44518c211ecb2d1c12783f503aa91c1c158 /epan/dissectors/packet-dplay.c | |
parent | 79a3113f0d1515e77c2f08aec063193db50aebe3 (diff) |
Removed some unneeded assignments.
Found by clang.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36698 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dplay.c')
-rw-r--r-- | epan/dissectors/packet-dplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c index cc0d6f030c..08f402c3b3 100644 --- a/epan/dissectors/packet-dplay.c +++ b/epan/dissectors/packet-dplay.c @@ -420,7 +420,7 @@ static gint display_unicode_string(proto_tree *tree, gint hf_index, tvbuff_t *tv * if we don't find the '\0'? I think it's a feature. */ len = 0; - while ((character = tvb_get_letohs(tvb, offset + len)) != '\0') + while (tvb_get_letohs(tvb, offset + len) != '\0') len += 2; len += 2; /* count the '\0' too */ |