charm.c: In function 'npc_parse_unknown_mapflag_pre':
charm.c:173:31: warning: declaration of 'cidata' shadows a previous local [-Wshadow]
struct charm_item_data *cidata = getFromITEMDATA(idata, 0);
^
charm.c:131:26: warning: shadowed declaration is here [-Wshadow]
struct charm_item_data *cidata = NULL;
^
charm.c:131:26: warning: unused variable 'cidata' [-Wunused-variable]
Some minor warning