summaryrefslogtreecommitdiff
path: root/gcc/ada/tracebak.c
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-13 09:59:29 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-13 09:59:29 +0000
commitef45d32d5c746d6df3f0737f1c66b5731cbe9ce8 (patch)
treedfdc10cce728db100d9bef7e9e79399f6a8339f2 /gcc/ada/tracebak.c
parentcdedc7400d8cfdcd7517180421ae4cc3b636d806 (diff)
downloadgcc-ef45d32d5c746d6df3f0737f1c66b5731cbe9ce8.tar.gz
* tracebak.c (__gnat_backtrace): Mark top_stack with
ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159356 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/tracebak.c')
-rw-r--r--gcc/ada/tracebak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c
index 835b7a8d620..9e5366a78cc 100644
--- a/gcc/ada/tracebak.c
+++ b/gcc/ada/tracebak.c
@@ -6,7 +6,7 @@
* *
* C Implementation File *
* *
- * Copyright (C) 2000-2009, AdaCore *
+ * Copyright (C) 2000-2010, AdaCore *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@@ -435,7 +435,7 @@ __gnat_backtrace (void **array,
{
struct layout *current;
void *top_frame;
- void *top_stack;
+ void *top_stack ATTRIBUTE_UNUSED;
int cnt = 0;
if (FORCE_CALL)