浏览代码

libdpkg: Do not generate the unused infodir in modstatdb_init()

Guillem Jover 15 年之前
父节点
当前提交
1e5cdccd10
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      lib/dpkg/dbmodify.c

+ 0 - 2
lib/dpkg/dbmodify.c

@@ -57,7 +57,6 @@ static int nextupdate;
 static char *updatesdir;
 static int updateslength;
 static char *updatefnbuf, *updatefnrest;
-static char *infodir;
 static struct varbuf uvb;
 
 static int ulist_select(const struct dirent *de) {
@@ -142,7 +141,6 @@ static const struct fni {
   {   AVAILFILE,                  &availablefile      },
   {   UPDATESDIR,                 &updatesdir         },
   {   UPDATESDIR IMPORTANTTMP,    &importanttmpfile   },
-  {   INFODIR,                    &infodir            },
   {   NULL, NULL                                      }
 };