aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 786c791..6995b8c 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -1062,9 +1062,7 @@ __gnat_error_handler (sig, code, sc)
{
struct Machine_State *mstate;
struct Exception_Data *exception;
- char *msg;
-
- int i;
+ const char *msg;
switch (sig)
{
@@ -1142,7 +1140,6 @@ __gnat_error_handler (sig, code, sc)
void
__gnat_install_handler ()
{
- stack_t ss;
struct sigaction act;
/* Setup signal handler to map synchronous signals to appropriate
@@ -1194,7 +1191,7 @@ __gnat_error_handler (sig, sip)
{
struct Exception_Data *exception;
static int recurse = 0;
- char *msg;
+ const char *msg;
/* If this was an explicit signal from a "kill", just resignal it. */
if (SI_FROMUSER (sip))