2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>

* tracepoint.c (cmd_qtv): Initialize `val' with zero, silencing
	compiler warning.
This commit is contained in:
Sergio Durigan Junior 2013-03-14 11:40:08 +00:00
parent bb869963da
commit eeb56fa757
2 changed files with 6 additions and 1 deletions

View File

@ -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]:

View File

@ -2804,7 +2804,7 @@ static void
cmd_qtv (char *own_buf)
{
ULONGEST num;
LONGEST val;
LONGEST val = 0;
int err;
char *packet = own_buf;