Use continue instead of goto inside loop. I don't need to scroll
up and down in the code to know what the jump is performing.
I think this improve code readability. It's a comestic cleanup,
of course.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
if (f->key == NULL || !IS_VALID(*k_ret)) {
sqlite3_bind_null(priv->p_stmt, i);
- goto next_field;
+ i++;
+ continue;
}
switch (f->key->type) {
ulogd_log(ULOGD_NOTICE, "unknown type %d for %s\n",
f->key->type, f->key->name);
}
-
- next_field:
i++;
}