rem: for(int32 i=0; i < settings->parameter_count; i++) if(!strcasecmp(settings->parameters[i].name, name) && settings->parameters[i].value_count > 0) return settings->parameters[i].values[0];
add: for(int32 index = 0; index < settings->parameter_count; index++) if(!strcasecmp(settings->parameters[index].name, name) && settings->parameters[index].value_count > 0 && settings->parameters[index].values) return settings->parameters[index].values[0];
context: get_settings_value(const char *name, const driver_settings *settings){	if(!name || !settings)		return NULL;		for(int32 i=0; i < settings->parameter_count; i++)		if(!strcasecmp(settings->parameters[i].name, name)			&& settings->parameters[i].value_count > 0)			return settings->parameters[i].values[0];		return NULL;}