aboutsummaryrefslogtreecommitdiff
path: root/libobjc/encoding.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-11-28 21:31:39 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2009-11-28 21:31:39 +0100
commit288d6a77c3fc3d7f2dcc879f10c460f95236688a (patch)
treedaec9a4fba9b659e48e680b286828e053c1f7f28 /libobjc/encoding.c
parent14ca4cf89cd87ce8c44f6baed00ca4258fe0c732 (diff)
downloadgcc-288d6a77c3fc3d7f2dcc879f10c460f95236688a.zip
gcc-288d6a77c3fc3d7f2dcc879f10c460f95236688a.tar.gz
gcc-288d6a77c3fc3d7f2dcc879f10c460f95236688a.tar.bz2
sarray.c (sarray_free): Use old_buckets variable.
* 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. From-SVN: r154730
Diffstat (limited to 'libobjc/encoding.c')
-rw-r--r--libobjc/encoding.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index d2a8a4d..4ae29a7 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -904,7 +904,7 @@ objc_layout_structure_next_member (struct objc_struct_layout *layout)
/* The following are used only if the field is a bitfield */
register const char *bfld_type = 0;
- register int bfld_type_size, bfld_type_align = 0, bfld_field_size = 0;
+ register int bfld_type_align = 0, bfld_field_size = 0;
/* The current type without the type qualifiers */
const char *type;
@@ -927,7 +927,6 @@ objc_layout_structure_next_member (struct objc_struct_layout *layout)
bfld_type++)
/* do nothing */;
- bfld_type_size = objc_sizeof_type (bfld_type) * BITS_PER_UNIT;
bfld_type_align = objc_alignof_type (bfld_type) * BITS_PER_UNIT;
bfld_field_size = atoi (objc_skip_typespec (bfld_type));
layout->record_size += bfld_field_size;
@@ -958,7 +957,6 @@ objc_layout_structure_next_member (struct objc_struct_layout *layout)
bfld_type++)
/* do nothing */;
- bfld_type_size = objc_sizeof_type (bfld_type) * BITS_PER_UNIT;
bfld_type_align = objc_alignof_type (bfld_type) * BITS_PER_UNIT;
bfld_field_size = atoi (objc_skip_typespec (bfld_type));
}