[libvirt] [PATCH] virsh: initialize str to NULL for solving a build issue

2014-02-24 Thread Chen Hanxiao
Fix a -Werror=maybe-uninitialized issue. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- tools/virsh-domain-monitor.c | 2 +- tools/virsh-domain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c

Re: [libvirt] [PATCH] virsh: initialize str to NULL for solving a build issue

2014-02-24 Thread Ján Tomko
On 02/25/2014 07:28 AM, Chen Hanxiao wrote: Fix a -Werror=maybe-uninitialized issue. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- tools/virsh-domain-monitor.c | 2 +- tools/virsh-domain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ACK and pushed.