Remove some code duplication in pattern.c
1 file changed