Re: [libvirt] [PATCH] nodeinfo: avoid uninitialized variable on error

2014-06-11 Thread Michal Privoznik
On 11.06.2014 00:27, Eric Blake wrote: Commit 8ba0a58 introduced a compiler warning that I hit during a run of ./autobuild.sh: ../../src/nodeinfo.c: In function 'nodeCapsInitNUMA': ../../src/nodeinfo.c:1853:43: error: 'nsiblings' may be used uninitialized in this function

[libvirt] [PATCH] nodeinfo: avoid uninitialized variable on error

2014-06-10 Thread Eric Blake
Commit 8ba0a58 introduced a compiler warning that I hit during a run of ./autobuild.sh: ../../src/nodeinfo.c: In function 'nodeCapsInitNUMA': ../../src/nodeinfo.c:1853:43: error: 'nsiblings' may be used uninitialized in this function [-Werror=maybe-uninitialized] if