Project

General

Profile

Bug #1484 » 0016-entry_new-Initialize-entry-type-with-ENTRY_ILLEGAL.patch

S3_1 - Marko Lindqvist, 06/05/2025 02:15 AM

View differences:

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;
(2-2/2)