summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;