Re: [libvirt] [PATCH 16/42] rpc: Don't check the output of virGetUserConfigDirectory()

2019-12-19 Thread Fabiano Fidêncio
On Thu, Dec 19, 2019 at 8:23 PM Ján Tomko wrote: > > On Thu, Dec 19, 2019 at 11:04:21AM +0100, Fabiano Fidêncio wrote: > >virGetUserConfigDirectory() *never* *ever* returns NULL, making the > >checks for it completely unnecessary. > > > >Signed-off-by: Fabiano Fidêncio > >--- > > src/rpc/virnetcl

Re: [libvirt] [PATCH 16/42] rpc: Don't check the output of virGetUserConfigDirectory()

2019-12-19 Thread Ján Tomko
On Thu, Dec 19, 2019 at 11:04:21AM +0100, Fabiano Fidêncio wrote: virGetUserConfigDirectory() *never* *ever* returns NULL, making the checks for it completely unnecessary. Signed-off-by: Fabiano Fidêncio --- src/rpc/virnetclient.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-)

[libvirt] [PATCH 16/42] rpc: Don't check the output of virGetUserConfigDirectory()

2019-12-19 Thread Fabiano Fidêncio
virGetUserConfigDirectory() *never* *ever* returns NULL, making the checks for it completely unnecessary. Signed-off-by: Fabiano Fidêncio --- src/rpc/virnetclient.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/rpc/virnetclient.c b/src/rpc/virnetclient.c ind