return 0;
}
-
/*
* Process the FLAGS command
*/
return -1;
}
-
static int dict_read_parse_format(char const *format, unsigned int *pvalue, int *ptype, int *plength,
bool *pcontinuation)
{
char const *dir_name, char const *filename,
char const *src_file, int src_line)
{
- dict_from_file_ctx_t ctx;
-
- memset(&ctx, 0, sizeof(ctx));
-
- ctx.dict = dict;
- ctx.parent = dict->root;
+ dict_from_file_ctx_t ctx = {
+ .dict = dict,
+ .parent = dict->root
+ };
return _dict_from_file(&ctx, dir_name, filename, src_file, src_line);
}