From 2bfb9760ad1ee6d8f452d8d41c8db153ca655d97 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 11 Sep 2023 17:36:52 +0800 Subject: [PATCH] Fix Error: configdata_main.c:402:14: error: variable 'iteration' set but not used [-Werror,-Wunused-but-set-variable] Signed-off-by: Xiang Xiao --- examples/configdata/configdata_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/configdata/configdata_main.c b/examples/configdata/configdata_main.c index 128e03f47..7c687835b 100644 --- a/examples/configdata/configdata_main.c +++ b/examples/configdata/configdata_main.c @@ -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];