Re: [libvirt] [PATCH] qemu: Fix bogus warning about uninitialized saveptr

2011-01-06 Thread Jiri Denemark
The warning is bogus since strtok_r doesn't use the value when it's first called and initializes it for the following calls. --- src/qemu/qemu_command.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c

[libvirt] [PATCH] qemu: Fix bogus warning about uninitialized saveptr

2011-01-05 Thread Jiri Denemark
The warning is bogus since strtok_r doesn't use the value when it's first called and initializes it for the following calls. --- src/qemu/qemu_command.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index

Re: [libvirt] [PATCH] qemu: Fix bogus warning about uninitialized saveptr

2011-01-05 Thread Eric Blake
On 01/05/2011 08:11 AM, Jiri Denemark wrote: The warning is bogus since strtok_r doesn't use the value when it's first called and initializes it for the following calls. --- src/qemu/qemu_command.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git