* mi/mi-interp.c (mi_on_resume): Initialize `count' to 0.

This commit is contained in:
Pedro Alves 2009-05-29 19:06:12 +00:00
parent eb4ff4d67f
commit ab730e720d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-05-29 Pedro Alves <pedro@codesourcery.com>
* mi/mi-interp.c (mi_on_resume): Initialize `count' to 0.
2009-05-29 Eli Zaretskii <eliz@gnu.org>
* i386-tdep.c (i386_go32_init_abi): Use SVR4 register numbering

View File

@ -447,7 +447,7 @@ mi_on_resume (ptid_t ptid)
fprintf_unfiltered (raw_stdout, "*running,thread-id=\"all\"\n");
else if (ptid_is_pid (ptid))
{
int count;
int count = 0;
/* Backwards compatibility. If there's only one inferior,
output "all", otherwise, output each resumed thread