summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-07-12 15:11:26 -0600
committerKarl Williamson <public@khwilliamson.com>2013-07-16 13:58:12 -0600
commit4c60406d0e89efe615812945449c96f48bf70433 (patch)
tree6fe559069a877628fbbab7873bcfd09fa539b6e0 /sv.h
parentbb023b4f5363e492abb21c941380d9a69f29631b (diff)
downloadperl-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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index a891ce9495..7110b4c13d 100644
--- a/sv.h
+++ b/sv.h
@@ -532,7 +532,6 @@ struct xpvinvlist {
_XPV_HEAD;
IV prev_index;
STRLEN iterator;
- STRLEN count;
bool is_offset; /* */
};