summaryrefslogtreecommitdiff
path: root/libobjc/sarray.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-28 20:31:39 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-28 20:31:39 +0000
commitf80617042e9bdbdd520ba7dad7e5fbb4c2cc90e4 (patch)
treedaec9a4fba9b659e48e680b286828e053c1f7f28 /libobjc/sarray.c
parent309d3774a58d99d70fc723a3432336907a689f7f (diff)
downloadgcc-f80617042e9bdbdd520ba7dad7e5fbb4c2cc90e4.tar.gz
* sarray.c (sarray_free): Use old_buckets variable.
* encoding.c (objc_layout_structure_next_member): Remove unused bfld_type_size variable. * decContext.c (decContextTestEndian): Move adj definition into #if DECCHECK guarded code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/sarray.c')
-rw-r--r--libobjc/sarray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libobjc/sarray.c b/libobjc/sarray.c
index 147fd43335b..bb80ae03ec3 100644
--- a/libobjc/sarray.c
+++ b/libobjc/sarray.c
@@ -422,7 +422,7 @@ sarray_free (struct sarray *array) {
nindices -= 1;
}
#else /* OBJC_SPARSE2 */
- struct sbucket *bkt = array->buckets[counter];
+ struct sbucket *bkt = old_buckets[counter];
if ((bkt != array->empty_bucket) &&
(bkt->version.version == array->version.version))
{