git: bc2913d1736c - main - bintrans: Remove unused variable.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Thu, 01 Feb 2024 13:11:12 UTC
The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=bc2913d1736c2b299a265741a779014d001bd108

commit bc2913d1736c2b299a265741a779014d001bd108
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-02-01 13:10:45 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-02-01 13:10:45 +0000

    bintrans: Remove unused variable.
    
    MFC after:      1 week
    Sponsored by:   Klara, Inc.
    Reviewed by:    allanjude
    Differential Revision:  https://reviews.freebsd.org/D43559
---
 usr.bin/bintrans/qp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/usr.bin/bintrans/qp.c b/usr.bin/bintrans/qp.c
index 33aabb35a101..c2c9dfa7a224 100644
--- a/usr.bin/bintrans/qp.c
+++ b/usr.bin/bintrans/qp.c
@@ -138,12 +138,11 @@ qp(FILE *fp, FILE *fpo, bool encode)
 {
 	char *line = NULL;
 	size_t linecap = 0;
-	ssize_t linelen;
 	void (*codec)(const char *line, FILE *f);
 
 	codec = encode ? encode_quoted_printable : decode_quoted_printable ;
 
-	while ((linelen = getline(&line, &linecap, fp)) > 0)
+	while (getline(&line, &linecap, fp) > 0)
 		codec(line, fpo);
 	free(line);
 }