conf: repair debug build when LOG_ENABLE_DBG=0 in config.c

This commit is contained in:
Daniel Eklöf 2019-07-17 10:32:22 +02:00
parent de575ac58e
commit 50153ef7e2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -120,7 +120,7 @@ parse_config_file(FILE *f, struct config *conf, const char *path)
[SECTION_MAIN] = &parse_section_main,
};
#if defined(_DEBUG)
#if defined(_DEBUG) && defined(LOG_ENABLE_DBG) && LOG_ENABLE_DBG
static const char *const section_names[] = {
[SECTION_MAIN] = "main",
};