diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-07-12 15:11:26 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-07-16 13:58:12 -0600 |
commit | 4c60406d0e89efe615812945449c96f48bf70433 (patch) | |
tree | 6fe559069a877628fbbab7873bcfd09fa539b6e0 /sv.h | |
parent | bb023b4f5363e492abb21c941380d9a69f29631b (diff) | |
download | perl-4c60406d0e89efe615812945449c96f48bf70433.tar.gz |
Remove redundant field from inversion lists
The number of elements in an inversion list is a simple calculation
based on SvCUR(). Prior to this patch there was a field that contained
that number directly, and the two values diverged, causing a bug. A
single value can't get out-of-sync with itself.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -532,7 +532,6 @@ struct xpvinvlist { _XPV_HEAD; IV prev_index; STRLEN iterator; - STRLEN count; bool is_offset; /* */ }; |