config: fix warning when config_file is disabled
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
4c814a7b81
commit
72cedea5a3
|
@ -564,6 +564,12 @@ char *parse_config(options_t *opt, const char *config_file, bool *shadow_enable,
|
|||
#ifdef CONFIG_LIBCONFIG
|
||||
ret = parse_config_libconfig(opt, config_file, shadow_enable, fading_enable,
|
||||
hasneg, winopt_mask);
|
||||
#else
|
||||
(void)config_file;
|
||||
(void)shadow_enable;
|
||||
(void)fading_enable;
|
||||
(void)hasneg;
|
||||
(void)winopt_mask;
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue