diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-04-18 15:29:25 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-04-18 15:29:25 +0000 |
commit | 27344a90fe253957564b04d6eb5c1deb99259400 (patch) | |
tree | cbd6c44518c211ecb2d1c12783f503aa91c1c158 /epan/dissectors/packet-btobex.c | |
parent | 9739656c717343913a8c519e435434b35de8bb61 (diff) | |
download | wireshark-27344a90fe253957564b04d6eb5c1deb99259400.tar.gz |
Removed some unneeded assignments.
Found by clang.
svn path=/trunk/; revision=36698
Diffstat (limited to 'epan/dissectors/packet-btobex.c')
-rw-r--r-- | epan/dissectors/packet-btobex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btobex.c b/epan/dissectors/packet-btobex.c index 07ad3c231d..e30a265a89 100644 --- a/epan/dissectors/packet-btobex.c +++ b/epan/dissectors/packet-btobex.c @@ -271,7 +271,7 @@ display_unicode_string(tvbuff_t *tvb, proto_tree *tree, int offset, char **data) * Get the length of the string. */ len = 0; - while ((character = tvb_get_ntohs(tvb, offset + len)) != '\0') + while (tvb_get_ntohs(tvb, offset + len) != '\0') len += 2; len += 2; /* count the '\0' too */ |