From 046a10fa15e4b9199c0c61d690315c115d125d72 Mon Sep 17 00:00:00 2001 From: Dongju Chae Date: Fri, 28 Jun 2019 14:16:01 +0900 Subject: [PATCH] [CONF/FIX] fix typo and remove unused variables in ne-conf.c This commit removes some typos in ne-conf.c Signed-off-by: Dongju Chae --- core/npu-engine/src/ne-conf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/npu-engine/src/ne-conf.c b/core/npu-engine/src/ne-conf.c index 44a9b72..1860c28 100644 --- a/core/npu-engine/src/ne-conf.c +++ b/core/npu-engine/src/ne-conf.c @@ -36,7 +36,7 @@ const conf_t *conf = &config; static void load_conf_default(conf_t *c) { c->reserved_mem_size = DEFAULT_RESV_MEM_SIZE; c->working_dir = DEFAULT_WORKING_DIR; - c->logicly = DEFAULT_LOG_DIR; + c->log_dir = DEFAULT_LOG_DIR; /** @todo NYI */ } @@ -63,8 +63,6 @@ static void load_conf_envvar(conf_t *c) { */ int load_conf(const char *inipath) { dictionary *ini; - char *ini_name; - int err; /* Load up config from default */ -- 2.7.4