From f85f9e06431d89722d3e6193e8e144ce5fd40f6e Mon Sep 17 00:00:00 2001 From: FUTATSUKI Yasuhito Date: Wed, 18 Sep 2024 11:19:03 +0900 Subject: [PATCH] * openarc/openarc.c (arcf_config_load): Remove unused buffer 'confstr' --- openarc/openarc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/openarc/openarc.c b/openarc/openarc.c index 7e191dc1..2825bcdb 100644 --- a/openarc/openarc.c +++ b/openarc/openarc.c @@ -1384,14 +1384,12 @@ arcf_config_load(struct config *data, struct arcf_config *conf, int dbflags = 0; uint64_t fixedtime = 0UL; char *str; - char confstr[BUFRSZ + 1]; char basedir[MAXPATHLEN + 1]; assert(conf != NULL); assert(err != NULL); memset(basedir, '\0', sizeof basedir); - memset(confstr, '\0', sizeof confstr); str = NULL; if (data != NULL)