* misc.c (gnat_handle_option): Fix warnings.
From-SVN: r67821
This commit is contained in:
parent
8cdea5a125
commit
70fd65692d
@ -1,3 +1,7 @@
|
||||
2003-06-12 Neil Booth <neil@daikokuya.co.uk>
|
||||
|
||||
* misc.c (gnat_handle_option): Fix warnings.
|
||||
|
||||
2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
|
||||
|
||||
* Make-lang.in (gnatbind): Remove $(LIBIBERTY).
|
||||
|
@ -237,6 +237,9 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED)
|
||||
|
||||
switch (code)
|
||||
{
|
||||
default:
|
||||
return 0;
|
||||
|
||||
case OPT_I:
|
||||
q = xmalloc (sizeof("-I") + strlen (arg));
|
||||
strcpy (q, "-I");
|
||||
@ -246,7 +249,7 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED)
|
||||
break;
|
||||
|
||||
case OPT_fRTS:
|
||||
gnat_argv[gnat_argc] = "-fRTS";
|
||||
gnat_argv[gnat_argc] = xstrdup ("-fRTS");
|
||||
gnat_argc++;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user