diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-03 14:55:45 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-09 10:13:53 -0700 |
commit | 112b0fc601abb62ef38610a2a8edb67f8f59fade (patch) | |
tree | ef3604476bc5c86c6f6daa72e8ac820827669fde | |
parent | f45adb7919ea18d4d76c6cffaf31c1d90a103a48 (diff) | |
download | perl-112b0fc601abb62ef38610a2a8edb67f8f59fade.tar.gz |
regcomp.c: Use NULL first parameter to _invlist_union
A previous commit has changed _invlist_union() to accept a NULL
first parameter. This takes advantage of that to simplify some code.
-rw-r--r-- | regcomp.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -10444,12 +10444,7 @@ parseit: swash = NULL; } else { - if (! properties) { - properties = invlist_clone(invlist); - } - else { - _invlist_union(properties, invlist, &properties); - } + _invlist_union(properties, invlist, &properties); } } Safefree(name); |