This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Ada] remove unused variable in ada/traceback.c


This is a resubmission of a part of the patch submitted in:

[Ada] warning patrol
<http://gcc.gnu.org/ml/gcc-patches/2001-10/msg01489.html>

Geert replied "I'll commit this obvious change" about this part, looks
like it was forgotten :).

It still applies cleanly, bootstrapped, checked and ACATS on
i686-pc-linux-gnu.

-- 
Laurent Guerby <guerby@acm.org>

2001-10-27  Laurent Guerby <guerby@acm.org>

	* tracebak.c (__gnat_backtrace): Remove unused variable.

Index: gcc/ada/tracebak.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/tracebak.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 tracebak.c
*** tracebak.c	2001/10/04 17:50:42	1.2
--- tracebak.c	2001/11/06 23:31:36
*************** __gnat_backtrace (array, size, exclude_m
*** 202,208 ****
    struct layout *current;
    void *top_frame;
    void *top_stack;
-   void *ret;
    int cnt = 0;
  
  #ifdef PROTECT_SEGV
--- 202,207 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]