public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* c-typeck.c: Remove unused macro
@ 2002-07-21 13:30 Neil Booth
  0 siblings, 0 replies; only message in thread
From: Neil Booth @ 2002-07-21 13:30 UTC (permalink / raw)
  To: gcc-patches

This is the first of many patches to remove unused macros.

Committed as obvious after a bootstrap.

Neil.

	* c-typeck.c (SAVE_SPELLING_DEPTH): Remove.

============================================================
Index: gcc/c-typeck.c
*** gcc/c-typeck.c	3 Jul 2002 09:49:45 -0000	1.197
--- gcc/c-typeck.c	21 Jul 2002 18:57:59 -0000
*************** static int spelling_size;		/* Size of th
*** 4511,4525 ****
  #define SPELLING_DEPTH() (spelling - spelling_base)
  #define RESTORE_SPELLING_DEPTH(DEPTH) (spelling = spelling_base + (DEPTH))
  
- /* Save and restore the spelling stack around arbitrary C code.  */
- 
- #define SAVE_SPELLING_DEPTH(code)		\
- {						\
-   int __depth = SPELLING_DEPTH ();		\
-   code;						\
-   RESTORE_SPELLING_DEPTH (__depth);		\
- }
- 
  /* Push an element on the spelling stack with type KIND and assign VALUE
     to MEMBER.  */
  
--- 4511,4516 ----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-21 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-21 13:30 c-typeck.c: Remove unused macro Neil Booth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).