]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 718286be6648b83a4266c4f17c180ae7ed7a2288..4d8c7bd149df8f855d0fc786fff2dc51dd7048bc 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;