Initialize variable on gdb/linux-tdep.c:decode_vmflags
[deliverable/binutils-gdb.git] / gdb / linux-tdep.c
index 4af1d01900256164a478a0159b0fcabe86d5549f..0b11e58ca1c048a7465ba699f4ebfa2ba93d9511 100644 (file)
@@ -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;
This page took 0.025935 seconds and 4 git commands to generate.