diff --git a/src/apcups.c b/src/apcups.c
index a1f238266bb9848cc71494713612f04c4423ae28..cc2035787ea8fb1a595ad4a0ba9e2e52fabef50e 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
static int apcups_config (oconfig_item_t *ci)
{
- int i;
_Bool persistent_conn_set = 0;
- for (i = 0; i < ci->children_num; i++)
+ for (int i = 0; i < ci->children_num; i++)
{
oconfig_item_t *child = ci->children + i;