libpkgconf: pkg: pkgconf_pkg_scan_dir: remove unnecessary static declaration of filebuf
parent
2681c29edd
commit
b7839f6bb7
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue