From e64317c15e9960f3173d374e589f7c3565a4ad08 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 6 Jan 2016 08:35:56 +0100 Subject: common: Avoid warnings about useless assignments. * common/b64enc.c (b64enc_finish): Remove var assignment which is not used later. * common/iobuf.c (file_filter): Ditto. * common/tlv.c (do_find_tlv): Ditto. * common/userids.c (classify_user_id): Ditto. Signed-off-by: Werner Koch --- common/tlv.c | 1 - 1 file changed, 1 deletion(-) (limited to 'common/tlv.c') 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) -- cgit v1.2.3