monitor: fix debug print compiling error
error: 'i' undeclared (first use in this function) Signed-off-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
6cd14054b6
commit
5fb9b5b9cb
@ -4747,8 +4747,11 @@ static void monitor_find_completion(void *opaque,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#ifdef DEBUG_COMPLETION
|
#ifdef DEBUG_COMPLETION
|
||||||
for (i = 0; i < nb_args; i++) {
|
{
|
||||||
monitor_printf(mon, "arg%d = '%s'\n", i, args[i]);
|
int i;
|
||||||
|
for (i = 0; i < nb_args; i++) {
|
||||||
|
monitor_printf(mon, "arg%d = '%s'\n", i, args[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user