comparison agent/src/os/linux/symtab.c @ 12329:f2512d89ad0c

8025613: clang: remove -Wno-unused-value Reviewed-by: iveresov
author twisti
date Sat, 28 Sep 2013 12:42:22 -0700
parents 0a8e0d4345b3
children 27c84ba76954 de6a9e811145
comparison
equal deleted inserted replaced
12328:303826f477c6 12329:f2512d89ad0c
303 int fd; 303 int fd;
304 struct symtab *symtab = NULL; 304 struct symtab *symtab = NULL;
305 305
306 unsigned char *bytes 306 unsigned char *bytes
307 = (unsigned char*)(note+1) + note->n_namesz; 307 = (unsigned char*)(note+1) + note->n_namesz;
308 unsigned char *filename 308 char *filename
309 = (build_id_to_debug_filename (note->n_descsz, bytes)); 309 = (build_id_to_debug_filename (note->n_descsz, bytes));
310 310
311 fd = pathmap_open(filename); 311 fd = pathmap_open(filename);
312 if (fd >= 0) { 312 if (fd >= 0) {
313 symtab = build_symtab_internal(fd, NULL, /* try_debuginfo */ false); 313 symtab = build_symtab_internal(fd, NULL, /* try_debuginfo */ false);