From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 296D6138A87 for ; Tue, 24 Feb 2015 01:26:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CC89E08E1; Tue, 24 Feb 2015 01:26:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF6EAE08DD for ; Tue, 24 Feb 2015 01:26:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB8F734096A for ; Tue, 24 Feb 2015 01:26:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 044FB126BB for ; Tue, 24 Feb 2015 01:26:05 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1424731945.8db61f8ea34c8b306aca3518c4a4d4e6ca674b4f.vapier@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qmerge.c X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 8db61f8ea34c8b306aca3518c4a4d4e6ca674b4f X-VCS-Branch: master Date: Tue, 24 Feb 2015 01:26:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ddcf1815-0327-4920-9f4c-0ad495f79ca0 X-Archives-Hash: a606fe0f85741b0d2041f6e9433947c8 commit: 8db61f8ea34c8b306aca3518c4a4d4e6ca674b4f Author: Mike Frysinger gentoo org> AuthorDate: Mon Feb 23 22:52:25 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon Feb 23 22:52:25 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage-utils.git;a=commit;h=8db61f8e qmerge: drop unused lineno var --- qmerge.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/qmerge.c b/qmerge.c index 3281424..314a114 100644 --- a/qmerge.c +++ b/qmerge.c @@ -1700,7 +1700,6 @@ parse_packages(queue *todo) FILE *fp; size_t buflen; char *buf, *p; - long lineno = 0; struct pkg_t Pkg; fp = open_binpkg_index(); @@ -1709,7 +1708,6 @@ parse_packages(queue *todo) buf = NULL; while (getline(&buf, &buflen, fp) != -1) { - lineno++; if (*buf == '\n') { if ((strlen(Pkg.PF) > 0) && (strlen(Pkg.CATEGORY) > 0)) { struct pkg_t *pkg = xmalloc(sizeof(*pkg));