aboutsummaryrefslogtreecommitdiff
path: root/gas/stabs.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-02-19 17:15:28 +0000
committerJakub Jelinek <jakub@redhat.com>2004-02-19 17:15:28 +0000
commit2f01ffbf77c3bfbcddba30c77ceb324fb2757ee8 (patch)
tree2fc29735cb5e7f58dcf793256cf6c709578aa322 /gas/stabs.c
parent2ede629fa8f2410071e57bb43c46be438d5412b3 (diff)
downloadgdb-2f01ffbf77c3bfbcddba30c77ceb324fb2757ee8.zip
gdb-2f01ffbf77c3bfbcddba30c77ceb324fb2757ee8.tar.gz
gdb-2f01ffbf77c3bfbcddba30c77ceb324fb2757ee8.tar.bz2
gas/
* stabs.c (generate_asm_file): Avoid warning about use of uninitialized variable. binutils/ * objcopy.c (copy_section): Avoid warnings.
Diffstat (limited to 'gas/stabs.c')
-rw-r--r--gas/stabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/stabs.c b/gas/stabs.c
index 3d32729..f8acdc8 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -520,7 +520,7 @@ generate_asm_file (int type, char *file)
char *buf;
char *tmp = file;
char *endp = file + strlen (file);
- char *bufp = buf;
+ char *bufp;
if (last_file != NULL
&& strcmp (last_file, file) == 0)