Bug #1484 » 0016-entry_new-Initialize-entry-type-with-ENTRY_ILLEGAL.patch
utility/registry_ini.c | ||
---|---|---|
pentry = fc_malloc(sizeof(struct entry));
|
||
pentry->name = fc_strdup(name);
|
||
pentry->type = -1; /* Invalid case. */
|
||
pentry->type = ENTRY_ILLEGAL;
|
||
pentry->used = 0;
|
||
pentry->comment = NULL;
|
||
- « Previous
- 1
- 2
- Next »