adaint.c (__gnat_to_canonical_file_list_next): Use array initialization instead of const/none-const pointer assignment.
2011-05-25 Kai Tietz <ktietz@redhat.com> * adaint.c (__gnat_to_canonical_file_list_next): Use array initialization instead of const/none-const pointer assignment. From-SVN: r174185
This commit is contained in:
parent
a11e0df4da
commit
52d0a7acad
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-05-25 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* adaint.c (__gnat_to_canonical_file_list_next): Use array
|
||||
initialization instead of const/none-const pointer assignment.
|
||||
|
||||
2011-05-24 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* gcc-interface/Make-lang.in (GNAT1_OBJS): Don't include
|
||||
|
|
|
@ -3367,7 +3367,7 @@ __gnat_to_canonical_file_list_init
|
|||
char *
|
||||
__gnat_to_canonical_file_list_next (void)
|
||||
{
|
||||
static char *empty = "";
|
||||
static char empty[] = "";
|
||||
return empty;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue