X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fsortextable.h;h=3f064799a8c313af1000b096a04a2ff465ac152d;hb=aa27e726b9cc0d8837abe89d4129249fd3d53146;hp=f5eb43d429267f5bfeeaf0c27eab24e2e07f0f84;hpb=2c4cdf5950b1a7a9d731c03c56e2cea3bd8ca7b7;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/sortextable.h b/scripts/sortextable.h index f5eb43d42926..3f064799a8c3 100644 --- a/scripts/sortextable.h +++ b/scripts/sortextable.h @@ -101,7 +101,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;