diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-28 20:31:39 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-28 20:31:39 +0000 |
commit | f80617042e9bdbdd520ba7dad7e5fbb4c2cc90e4 (patch) | |
tree | daec9a4fba9b659e48e680b286828e053c1f7f28 /libobjc/encoding.c | |
parent | 309d3774a58d99d70fc723a3432336907a689f7f (diff) | |
download | gcc-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/encoding.c')
-rw-r--r-- | libobjc/encoding.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libobjc/encoding.c b/libobjc/encoding.c index d2a8a4d300e..4ae29a769c1 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)); } |