aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-tdep.c')
-rw-r--r--gdb/linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c
index 4af1d01..0b11e58 100644
--- a/gdb/linux-tdep.c
+++ b/gdb/linux-tdep.c
@@ -445,7 +445,7 @@ read_mapping (const char *line,
static void
decode_vmflags (char *p, struct smaps_vmflags *v)
{
- char *saveptr;
+ char *saveptr = NULL;
const char *s;
v->initialized_p = 1;