if (pattern == NULL) return 1;
if (pattern == NULL) { return 1; }
int matchesPattern(FieldType* dataType, FieldData* data, FieldType* patternType, FieldData* pattern) {	/* an inexistent pattern is always matched */	if (pattern == NULL) return 1;		if ((dataType->id != patternType->id) || (dataType->eid != patternType->eid)) return 0;	switch (patternType->id) {		case IPFIX_TYPEID_sourceIPv4Address:		case IPFIX_TYPEID_destinationIPv4Address: {			return matchesIPv4Pattern(dataType, data, patternType, pattern);			break;			} 		case IPFIX_TYPEID_sourceTransportPort:		case IPFIX_TYPEID_destinationtransportPort:			return matchesPortPattern(dataType, data, patternType, pattern);			break;		default:			return matchesRawPattern(dataType, data, patternType, pattern);			break;		}	}