aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/stabs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4f7b48f..46d96b2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-19 Jakub Jelinek <jakub@redhat.com>
+
+ * stabs.c (generate_asm_file): Avoid warning about use of
+ uninitialized variable.
+
2004-02-18 David Mosberger <davidm@hpl.hp.com>
* config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
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)