diff options
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 */ |