summaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-10 12:30:34 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-10 12:30:34 +0000
commitd90b3d04fca5bcaf406e6e3747b11c8a9295c42b (patch)
treee3ee20c06e269902b68b2a5e3e336d2a0081cd5f /gcc/gcov.c
parent7fe54e4877c20ac320940f73f98e0d4b69f26b2c (diff)
downloadgcc-d90b3d04fca5bcaf406e6e3747b11c8a9295c42b.tar.gz
* emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
emit_jump_insn): Fix uninitialized variable. * gcov.c (init_line_info): Likewise. * genautomata.c (transform_3): Add braces around ambiguous else. * ifcvt.c (cond_exec_process_insns): Mark parameter with ATTRIBUTE_UNUSED. * ra-build.c (parts_to_webs_1): Fix uninitialized variable. * regrename.c (copyprop_hardreg_forward): Fix uninitialized variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56182 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 2c526088635..a9658b26755 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -1308,7 +1308,7 @@ init_line_info (line_info, total, maxlineno)
char *ptr = bb_data;
long count;
long line_num;
- struct line_info *line_ptr; /* line info ptr. */
+ struct line_info *line_ptr = 0; /* line info ptr. */
memset (&function, 0, sizeof (function));
if (output_function_summary)