aboutsummaryrefslogtreecommitdiffstats
path: root/common/tlv.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-01-06 07:35:56 +0000
committerWerner Koch <[email protected]>2016-01-06 07:35:56 +0000
commite64317c15e9960f3173d374e589f7c3565a4ad08 (patch)
tree6fad48e5b0b1aa3076d222b772cd5c99f1a8b813 /common/tlv.c
parenttests: Use info and error instead of a plain echo. (diff)
downloadgnupg-e64317c15e9960f3173d374e589f7c3565a4ad08.tar.gz
gnupg-e64317c15e9960f3173d374e589f7c3565a4ad08.zip
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 <[email protected]>
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)