diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-19 08:51:21 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-19 08:51:21 +0200 |
commit | eca28e3764e301fad662743d1e8ba7296cc6a109 (patch) | |
tree | 23e420fadd4a844d72431e433e1234d5a092a8d0 /arch/sh/kernel/dwarf.c | |
parent | sh: Fix up smp_mb__xxx() memory barriers for SH-4A SMP. (diff) | |
download | linux-eca28e3764e301fad662743d1e8ba7296cc6a109.tar.xz linux-eca28e3764e301fad662743d1e8ba7296cc6a109.zip |
sh: Fix up uninitialized variable warning in dwarf unwinder.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/dwarf.c')
-rw-r--r-- | arch/sh/kernel/dwarf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/dwarf.c b/arch/sh/kernel/dwarf.c index 718286be6648..4d8c7bd149df 100644 --- a/arch/sh/kernel/dwarf.c +++ b/arch/sh/kernel/dwarf.c @@ -902,7 +902,7 @@ static int dwarf_parse_section(char *eh_frame_start, char *eh_frame_end, u32 entry_type; void *p, *entry; int count, err = 0; - unsigned long len; + unsigned long len = 0; unsigned int c_entries, f_entries; unsigned char *end; |