diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-31 06:47:06 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-31 06:47:06 +0200 |
commit | 2f6dafc5fcbf3fddce345c47da1f277a156fe22a (patch) | |
tree | 2787f531d1189d8dfaae7f3900f0491fade49e1d /arch/sh/kernel/dwarf.c | |
parent | sh: Only shout about fixing up unexpected unaligned accesses (diff) | |
download | linux-2f6dafc5fcbf3fddce345c47da1f277a156fe22a.tar.xz linux-2f6dafc5fcbf3fddce345c47da1f277a156fe22a.zip |
sh: unwinder: Fix up uninitialized variable warnings on sh2a build.
A couple of these popped up on the sh2a build, causing build failures.
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 700f7e0fd658..bc4d8d75332b 100644 --- a/arch/sh/kernel/dwarf.c +++ b/arch/sh/kernel/dwarf.c @@ -887,7 +887,7 @@ static int __init dwarf_unwinder_init(void) { u32 entry_type; void *p, *entry; - int count, err; + int count, err = 0; unsigned long len; unsigned int c_entries, f_entries; unsigned char *end; |