encoding.c (objc_layout_structure_next_member): Remove unused variable.

* encoding.c (objc_layout_structure_next_member): Remove unused
	variable.

From-SVN: r54406
This commit is contained in:
Andreas Jaeger 2002-06-09 18:46:01 +02:00
parent 309323c219
commit 42bac11688
2 changed files with 42 additions and 38 deletions

View File

@ -1,3 +1,8 @@
2002-06-09 Andreas Jaeger <aj@suse.de>
* encoding.c (objc_layout_structure_next_member): Remove unused
variable.
2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (SHELL): Set to @SHELL@. * Makefile.in (SHELL): Set to @SHELL@.
@ -435,4 +440,3 @@ Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
1998-09-21 Ben Elliston <bje@cygnus.com> 1998-09-21 Ben Elliston <bje@cygnus.com>
* New directory. Moved files from ../gcc/objc. * New directory. Moved files from ../gcc/objc.

View File

@ -1,5 +1,6 @@
/* Encoding of types for Objective C. /* Encoding of types for Objective C.
Copyright (C) 1993, 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. Copyright (C) 1993, 1995, 1996, 1997, 1998, 2000, 2002
Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup Contributed by Kresten Krab Thorup
Bitfield support by Ovidiu Predescu Bitfield support by Ovidiu Predescu
@ -749,7 +750,6 @@ objc_layout_structure (const char *type,
BOOL BOOL
objc_layout_structure_next_member (struct objc_struct_layout *layout) objc_layout_structure_next_member (struct objc_struct_layout *layout)
{ {
register int known_align = layout->record_size;
register int desired_align = 0; register int desired_align = 0;
/* The following are used only if the field is a bitfield */ /* The following are used only if the field is a bitfield */