[libvirt] [PATCH] Fix two uninitialized variable warnings

2011-05-10 Thread Matthias Bolte
gcc only reports them when compiling with -O3. --- src/util/interface.c |2 +- tools/virsh.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/interface.c b/src/util/interface.c index 5e1987a..04a922c 100644 --- a/src/util/interface.c +++

Re: [libvirt] [PATCH] Fix two uninitialized variable warnings

2011-05-10 Thread Wen Congyang
At 05/10/2011 02:40 PM, Matthias Bolte Write: gcc only reports them when compiling with -O3. I compile libvirt with -O3, and recieve the same warnings. ACK. --- src/util/interface.c |2 +- tools/virsh.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCH] Fix two uninitialized variable warnings

2011-05-10 Thread Matthias Bolte
2011/5/10 Wen Congyang we...@cn.fujitsu.com: At 05/10/2011 02:40 PM, Matthias Bolte Write: gcc only reports them when compiling with -O3. I compile libvirt with -O3, and recieve the same warnings. ACK. Thanks, pushed. Matthias -- libvir-list mailing list libvir-list@redhat.com