Просмотр исходного кода

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

Guillem Jover лет назад: 15
Родитель
Сommit
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                                      }
 };