Re: [Libvir] avoid used-uninitialized errors in test driver

2008-02-01 Thread Daniel Veillard
On Wed, Jan 30, 2008 at 03:09:57PM +0100, Jim Meyering wrote: > Here's another distracting and easily avoided error: [...] > This patch fixes it: > > * src/test.c (testOpenFromFile): avoid used-uninitialized errors in test > driver +1 thanks ! Daniel -- Red Hat Virtualization group http

[Libvir] avoid used-uninitialized errors in test driver

2008-01-30 Thread Jim Meyering
Here's another distracting and easily avoided error: $ valgrind --leak-check=full ./virsh --connect test://$PWD/../docs/testnode.xml list ==13150== Conditional jump or move depends on uninitialised value(s) ==13150==at 0x4177DE: testLoadDomain (test.c:324) ==13150==by 0x417BA4: te