summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Sharma <asharma@fb.com>2011-10-29 17:11:29 -0700
committerArun Sharma <asharma@fb.com>2011-11-03 08:29:49 -0700
commitc80b9c11752fb2fcf7b5e78ac1c3f094a6c13d21 (patch)
treeaeef34331e7507401f562058a48fa7746f830e95
parentf89fb17695e8137a5f4e23570bf9f53374186c96 (diff)
downloadlibunwind-c80b9c11752fb2fcf7b5e78ac1c3f094a6c13d21.tar.gz
Fix some compiler warnings
-rw-r--r--src/os-linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os-linux.h b/src/os-linux.h
index 4e225dcb..5b7295b0 100644
--- a/src/os-linux.h
+++ b/src/os-linux.h
@@ -203,7 +203,7 @@ static inline int
maps_next (struct map_iterator *mi,
unsigned long *low, unsigned long *high, unsigned long *offset)
{
- char perm[16], dash, colon, *cp;
+ char perm[16], dash = 0, colon = 0, *cp;
unsigned long major, minor, inum;
ssize_t i, nread;