aboutsummaryrefslogtreecommitdiffstats
path: root/common/tlv.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/tlv.c')
-rw-r--r--common/tlv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/tlv.c b/common/tlv.c
index 74cb4a744..1a6c18f52 100644
--- a/common/tlv.c
+++ b/common/tlv.c
@@ -59,7 +59,6 @@ do_find_tlv (const unsigned char *buffer, size_t length,
for (;;)
{
- buffer = s;
if (n < 2)
return NULL; /* Buffer definitely too short for tag and length. */
if (!*s || *s == 0xff)