diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-31 13:47:06 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-31 13:47:06 +0900 |
commit | 2f6dafc5fcbf3fddce345c47da1f277a156fe22a (patch) | |
tree | 2787f531d1189d8dfaae7f3900f0491fade49e1d /arch/sh/include/asm/dwarf.h | |
parent | 4aa5ac4ef44dd8c986241c54298abd7910b78b3f (diff) |
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/include/asm/dwarf.h')
-rw-r--r-- | arch/sh/include/asm/dwarf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/dwarf.h b/arch/sh/include/asm/dwarf.h index c367ed3373c..ced6795891a 100644 --- a/arch/sh/include/asm/dwarf.h +++ b/arch/sh/include/asm/dwarf.h @@ -200,7 +200,7 @@ */ static __always_inline unsigned long dwarf_read_arch_reg(unsigned int reg) { - unsigned long value; + unsigned long value = 0; switch (reg) { case 14: |