diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-04-19 14:33:09 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2011-04-19 14:33:09 +0000 |
commit | ed4b0e6a5218948292b2a22e28537a3b0e1c9bd8 (patch) | |
tree | 962a58321fd1a660ac9db06a3cb11ed58c7099f3 /gdb/xcoffread.c | |
parent | 9b13a2db10f7fd19574ef9fb5af6aa2c3351d419 (diff) | |
download | gdb-ed4b0e6a5218948292b2a22e28537a3b0e1c9bd8.zip gdb-ed4b0e6a5218948292b2a22e28537a3b0e1c9bd8.tar.gz gdb-ed4b0e6a5218948292b2a22e28537a3b0e1c9bd8.tar.bz2 |
* xcoffread.c (process_xcoff_symbol): Remove useless cast.
(scan_xcoff_symtab): Likewise.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 4dd048d..23decae 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. */ |