diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-05-16 16:41:26 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2012-05-16 16:41:26 -0700 |
commit | 2497ad2cce91bcb5272e73d1030d25794740d338 (patch) | |
tree | e08ab82fdeb3ffbf1ffcb661542a6a600df156ac | |
parent | 65a81b28950a6cf604aaa85b4695490a6be8e92a (diff) | |
download | android_external_elfutils-2497ad2cce91bcb5272e73d1030d25794740d338.tar.gz android_external_elfutils-2497ad2cce91bcb5272e73d1030d25794740d338.tar.bz2 android_external_elfutils-2497ad2cce91bcb5272e73d1030d25794740d338.zip |
Fix build
Change-Id: Ib4ccb1e797c6d63824ced7f3ad673a0ccfbf7f7e
-rw-r--r-- | libdwfl/dwfl_module_getdwarf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c index 51f00a01..b0e1ddf8 100644 --- a/libdwfl/dwfl_module_getdwarf.c +++ b/libdwfl/dwfl_module_getdwarf.c @@ -501,7 +501,7 @@ find_symtab (Dwfl_Module *mod) /* First see if the main ELF file has the debugging information. */ Elf_Scn *symscn = NULL, *xndxscn = NULL; - GElf_Word strshndx; + GElf_Word strshndx = 0; mod->symerr = load_symtab (&mod->main, &mod->symfile, &symscn, &xndxscn, &mod->syments, &strshndx); switch (mod->symerr) |