Skip to content

Commit 0e9a149

Browse files
futatukiflowerysong
authored andcommitted
* openarc/openarc.c (arcf_config_load): Remove unused buffer 'confstr'
trusteddomainproject/OpenARC#178
1 parent d316f36 commit 0e9a149

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

openarc/openarc.c

-2
Original file line numberDiff line numberDiff line change
@@ -1383,14 +1383,12 @@ arcf_config_load(struct config *data, struct arcf_config *conf,
13831383
int dbflags = 0;
13841384
uint64_t fixedtime = 0UL;
13851385
char *str;
1386-
char confstr[BUFRSZ + 1];
13871386
char basedir[MAXPATHLEN + 1];
13881387

13891388
assert(conf != NULL);
13901389
assert(err != NULL);
13911390

13921391
memset(basedir, '\0', sizeof basedir);
1393-
memset(confstr, '\0', sizeof confstr);
13941392

13951393
str = NULL;
13961394
if (data != NULL)

0 commit comments

Comments
 (0)