libpkgconf: pkg: pkgconf_pkg_scan_dir: remove unnecessary static declaration of filebuf

pull/144/head
William Pitcock 2017-09-08 20:06:52 -05:00
parent 2681c29edd
commit b7839f6bb7
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ pkgconf_pkg_scan_dir(pkgconf_client_t *client, const char *path, void *data, pkg
for (dirent = readdir(dir); dirent != NULL; dirent = readdir(dir)) for (dirent = readdir(dir); dirent != NULL; dirent = readdir(dir))
{ {
static char filebuf[PKGCONF_BUFSIZE]; char filebuf[PKGCONF_BUFSIZE];
pkgconf_pkg_t *pkg; pkgconf_pkg_t *pkg;
FILE *f; FILE *f;