sh: Fix up uninitialized variable warning in dwarf unwinder.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 19 Oct 2009 06:51:21 +0000 (15:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 19 Oct 2009 06:51:21 +0000 (15:51 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/dwarf.c

index 718286b..4d8c7bd 100644 (file)
@@ -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;