mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-14 04:27:57 -05:00
conf: repair debug build when LOG_ENABLE_DBG=0 in config.c
This commit is contained in:
parent
de575ac58e
commit
50153ef7e2
1 changed files with 1 additions and 1 deletions
2
config.c
2
config.c
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue