X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fsortextable.h;h=ba8700428e21dd1612d8c6ae4ddde0e0e964433e;hb=5015641d2152f0fdb328d45d517db95be5485edc;hp=8fac3fd697a6ec34c4908ca60386f2dee3c29bb0;hpb=1ec2c7fc1100ca91ebedb583aef80a5e9aafdabd;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/sortextable.h b/scripts/sortextable.h index 8fac3fd697a6..ba8700428e21 100644 --- a/scripts/sortextable.h +++ b/scripts/sortextable.h @@ -103,7 +103,7 @@ do_func(Elf_Ehdr *ehdr, char const *const fname, table_sort_t custom_sort) Elf_Sym *sort_needed_sym; Elf_Shdr *sort_needed_sec; Elf_Rel *relocs = NULL; - int relocs_size; + int relocs_size = 0; uint32_t *sort_done_location; const char *secstrtab; const char *strtab;