Fix compile errors in Centos 6

Fix compile errors in Centos 6
This commit is contained in:
MassimilianoPinto
2017-03-27 09:49:21 +02:00
parent 710012ac5d
commit 8e24f847e6
5 changed files with 20 additions and 5 deletions

View File

@ -623,7 +623,8 @@ config_load_and_process(const char* filename, bool (*process_config)(CONFIG_CONT
if (duplicate_context_init(&dcontext))
{
CONFIG_CONTEXT ccontext = {.object = (char*)""};
CONFIG_CONTEXT ccontext = {};
ccontext.object = (char*)"";
if (config_load_single_file(filename, &dcontext, &ccontext))
{