Fix Error: configdata_main.c:402:14: error: variable 'iteration' set but not used [-Werror,-Wunused-but-set-variable]

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-09-11 17:36:52 +08:00 committed by archer
parent d2fd626780
commit 2bfb9760ad

View File

@ -399,11 +399,9 @@ static int configdata_verifyconfig(void)
int ret;
int errcode = OK;
int i;
static int iteration = 0;
/* Create a file for each unused file structure */
iteration++;
for (i = 0; i < CONFIG_EXAMPLES_CONFIGDATA_MAXENTRIES; i++)
{
entry = &g_entries[i];