From: Andreas Schwab Date: Tue, 19 Apr 2011 14:33:09 +0000 (+0000) Subject: * xcoffread.c (process_xcoff_symbol): Remove useless cast. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed4b0e6a5218948292b2a22e28537a3b0e1c9bd8;p=binutils-gdb.git * xcoffread.c (process_xcoff_symbol): Remove useless cast. (scan_xcoff_symtab): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dfee35abde2..1ef5a80f69d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-04-19 Andreas Schwab + + * xcoffread.c (process_xcoff_symbol): Remove useless cast. + (scan_xcoff_symtab): Likewise. + 2011-04-19 Pierre Muller * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 4dd048d5d96..23decae4663 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -1588,7 +1588,7 @@ process_xcoff_symbol (struct coff_symbol *cs, struct objfile *objfile) if (*name == ':') return NULL; - pp = (char *) strchr (name, ':'); + pp = strchr (name, ':'); if (pp == NULL) return NULL; @@ -2623,7 +2623,7 @@ scan_xcoff_symtab (struct objfile *objfile) swap_sym (&symbol, &main_aux[0], &namestring, &sraw_symbol, &ssymnum, objfile); - p = (char *) strchr (namestring, ':'); + p = strchr (namestring, ':'); if (!p) continue; /* Not a debugging symbol. */