Mercurial > hg > graal-jvmci-8
diff agent/src/os/linux/symtab.c @ 23822:626f594dffa6
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux.
Reviewed-by: stuefe, coleenp, roland
author | csahu |
---|---|
date | Tue, 01 Mar 2016 12:50:37 +0530 |
parents | 55fb97c4c58d |
children | f13e777eb255 |
line wrap: on
line diff
--- a/agent/src/os/linux/symtab.c Thu Feb 18 16:15:28 2016 +0100 +++ b/agent/src/os/linux/symtab.c Tue Mar 01 12:50:37 2016 +0530 @@ -514,6 +514,7 @@ return (uintptr_t)NULL; item.key = (char*) strdup(sym_name); + item.data = NULL; hsearch_r(item, FIND, &ret, symtab->hash_table); if (ret) { struct elf_symbol * sym = (struct elf_symbol *)(ret->data);