提交 2f6dafc5 编写于 作者: P Paul Mundt

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: NPaul Mundt <lethal@linux-sh.org>
上级 4aa5ac4e
......@@ -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:
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册