mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
Initialize variable on gdb/linux-tdep.c:decode_vmflags
This obvious commit initializes the 'saveptr' variable on gdb/linux-tdep.c:decode_vmflags. This was causing a build failure on Fedora 21 x86_64, caught by the BuildBot here: <https://sourceware.org/ml/gdb-testers/2015-q2/msg00450.html>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user