pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib pkg_install: remove two...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24c8f689d23d
branches:  trunk
changeset: 442877:24c8f689d23d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 02 12:10:50 2020 +0000

description:
pkg_install: remove two unused variables

diffstat:

 pkgtools/pkg_install/files/lib/iterate.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r ccaab734bb0e -r 24c8f689d23d pkgtools/pkg_install/files/lib/iterate.c
--- a/pkgtools/pkg_install/files/lib/iterate.c  Wed Dec 02 12:10:38 2020 +0000
+++ b/pkgtools/pkg_install/files/lib/iterate.c  Wed Dec 02 12:10:50 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iterate.c,v 1.9 2020/07/01 10:03:20 jperkin Exp $      */
+/*     $NetBSD: iterate.c,v 1.10 2020/12/02 12:10:50 wiz Exp $ */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -228,8 +228,6 @@
 iterate_pkg_db_cached(int (*matchiter)(const char *, void *), void *cookie)
 {
        DIR *dirp;
-       struct dirent *dp;
-       struct stat st;
        struct pkg_db_iter_arg arg;
        struct pkg_db_list *pkg;
        const char *pkgdir;



Home | Main Index | Thread Index | Old Index