From b7839f6bb7e878a593d56ed462e4ab41b4c6de34 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 8 Sep 2017 20:06:52 -0500 Subject: [PATCH] libpkgconf: pkg: pkgconf_pkg_scan_dir: remove unnecessary static declaration of filebuf --- libpkgconf/pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c index cf22b87..2779e38 100644 --- a/libpkgconf/pkg.c +++ b/libpkgconf/pkg.c @@ -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)) { - static char filebuf[PKGCONF_BUFSIZE]; + char filebuf[PKGCONF_BUFSIZE]; pkgconf_pkg_t *pkg; FILE *f;