config: avoid compiler warning

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2017-09-07 21:42:21 +02:00
parent 6b6b86c14c
commit 83770bb45d

View File

@@ -1419,7 +1419,7 @@ int add_multi_line_val(void *pool, const char *name, char ***s_name, size_t *num
void clear_old_configs(struct perm_cfg_st* config)
{
attic_entry_st *e, *pos;
attic_entry_st *e = NULL, *pos;
/* go through the attic and clear old configurations if unused */
list_for_each_safe(&config->attic, e, pos, list) {