提交 b4f9522f 编写于 作者: H hong

fix warning: declaration of 'ret' shadows a previous local

Signed-off-by: Nhong <hong@liuxiuhai.cn>
上级 cd728edf
......@@ -142,7 +142,7 @@ static int LoadPersistParam(void)
while (currLen < fileSize) {
if (buffer[currLen] == '\n') { // split line
buffer[currLen] = '\0';
int ret = SplitParamString(buffer, NULL, 0, LoadOnePersistParam_, NULL);
ret = SplitParamString(buffer, NULL, 0, LoadOnePersistParam_, NULL);
PARAM_CHECK(ret == 0, continue, "Failed to set param %d %s", ret, buffer);
paramNum++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册