* xcoffread.c (process_xcoff_symbol): Remove useless cast.
(scan_xcoff_symtab): Likewise.
This commit is contained in:
parent
9b13a2db10
commit
ed4b0e6a52
|
@ -1,3 +1,8 @@
|
||||||
|
2011-04-19 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* xcoffread.c (process_xcoff_symbol): Remove useless cast.
|
||||||
|
(scan_xcoff_symtab): Likewise.
|
||||||
|
|
||||||
2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
|
2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
* xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment
|
* xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment
|
||||||
|
|
|
@ -1588,7 +1588,7 @@ process_xcoff_symbol (struct coff_symbol *cs, struct objfile *objfile)
|
||||||
if (*name == ':')
|
if (*name == ':')
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
pp = (char *) strchr (name, ':');
|
pp = strchr (name, ':');
|
||||||
if (pp == NULL)
|
if (pp == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
@ -2623,7 +2623,7 @@ scan_xcoff_symtab (struct objfile *objfile)
|
||||||
swap_sym (&symbol, &main_aux[0], &namestring, &sraw_symbol,
|
swap_sym (&symbol, &main_aux[0], &namestring, &sraw_symbol,
|
||||||
&ssymnum, objfile);
|
&ssymnum, objfile);
|
||||||
|
|
||||||
p = (char *) strchr (namestring, ':');
|
p = strchr (namestring, ':');
|
||||||
if (!p)
|
if (!p)
|
||||||
continue; /* Not a debugging symbol. */
|
continue; /* Not a debugging symbol. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue