loggen: Remove an unused variable

The counter variable in gen_messages() was unused, and causing a
spurious compiler warning, get rid of it.

Reported-by: Jose Pedro Oliveira <jpo@di.uminho.pt>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
cfg-lex.l: Fix a compiler warning

In cfg_lexer_start_block_state(), use sizeof(gchar[2]) instead of trying
to call sizeof() on the source - even though they're the same thing,
calling sizeof on the source confuses gcc.

Reported-by: Jose Pedro Oliveira <jpo@di.uminho.pt>
Reported-by: Michal Privoznik <miso.privoznik@gmail.com>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
tlscontext: Switch verify_mode to gint

We do not use discrete values for TLSContext->verify_mode, but we
combine TLSVerifyMode values instead. Thus, switch the variable to gint
to reflect this, and to silence a compiler warning.

Reported-by: Jose Pedro Oliveira <jpo@di.uminho.pt>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>