mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Add initializer braces required by older versions of gcc.
This commit is contained in:
parent
38eeac48d6
commit
245b0c048a
@ -51,7 +51,7 @@ yamlNew(const Buffer *const buffer)
|
||||
{
|
||||
// Create object
|
||||
this = OBJ_NEW_ALLOC();
|
||||
*this = (Yaml){0};
|
||||
*this = (Yaml){{0}}; // Extra braces are required for older gcc versions
|
||||
|
||||
// Initialize parser context
|
||||
CHECK(yaml_parser_initialize(&this->parser));
|
||||
|
Loading…
Reference in New Issue
Block a user