This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Ada] remove unused variable in ada/traceback.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: [Ada] remove unused variable in ada/traceback.c
- From: <guerby at acm dot org>
- Date: Wed, 7 Nov 2001 00:38:46 +0100
- Reply-to: guerby at acm dot org
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 ----