diff 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
line wrap: on
line diff
--- a/agent/src/os/linux/symtab.c	Sat Sep 28 12:32:10 2013 +0400
+++ b/agent/src/os/linux/symtab.c	Sat Sep 28 12:42:22 2013 -0700
@@ -305,7 +305,7 @@
 
   unsigned char *bytes
     = (unsigned char*)(note+1) + note->n_namesz;
-  unsigned char *filename
+  char *filename
     = (build_id_to_debug_filename (note->n_descsz, bytes));
 
   fd = pathmap_open(filename);