From f30bce9530cc4c851b8be4625276d26e4fd752a8 Mon Sep 17 00:00:00 2001 From: stig Date: Mon, 18 Apr 2011 15:29:25 +0000 Subject: Removed some unneeded assignments. Found by clang. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36698 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-dplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-dplay.c') 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 */ -- cgit v1.2.3