diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2013-03-14 11:40:08 +0000 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2013-03-14 11:40:08 +0000 |
commit | eeb56fa757d613c28cb8b17ba966a2036090dff6 (patch) | |
tree | 41d1239681c4409aaa7b57874fe5982fb206f410 /gdb | |
parent | bb869963da27d88c24f770f0a5aae61112e568f9 (diff) | |
download | gdb-eeb56fa757d613c28cb8b17ba966a2036090dff6.zip gdb-eeb56fa757d613c28cb8b17ba966a2036090dff6.tar.gz gdb-eeb56fa757d613c28cb8b17ba966a2036090dff6.tar.bz2 |
2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
* tracepoint.c (cmd_qtv): Initialize `val' with zero, silencing
compiler warning.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 057133f..75599ca 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com> + + * tracepoint.c (cmd_qtv): Initialize `val' with zero, silencing + compiler warning. + 2013-03-13 Joel Brobecker <brobecker@adacore.com> * linux-low.c (linux_target_ops) [!HAVE_LINUX_BTRACE]: diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index bea6202..419765b 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -2804,7 +2804,7 @@ static void cmd_qtv (char *own_buf) { ULONGEST num; - LONGEST val; + LONGEST val = 0; int err; char *packet = own_buf; |