From 851f14281c2fefb596c8e6b2e356c553a3f5cc87 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Sat, 29 Oct 2011 17:11:29 -0700 Subject: [PATCH] Fix some compiler warnings --- src/os-linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;