From: Paul Mundt Date: Mon, 19 Oct 2009 06:51:21 +0000 (+0900) Subject: sh: Fix up uninitialized variable warning in dwarf unwinder. X-Git-Tag: v2.6.33-rc1~347^2~27^2~66 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eca28e3764e301fad662743d1e8ba7296cc6a109;p=karo-tx-linux.git sh: Fix up uninitialized variable warning in dwarf unwinder. Signed-off-by: Paul Mundt --- 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;