Re: [libvirt] [PATCH 39/42] locking: Don't check the output of virGetUserRuntimeDirectory()

2019-12-19 Thread Ján Tomko
On Thu, Dec 19, 2019 at 11:04:44AM +0100, Fabiano Fidêncio wrote: virGetUserRuntimeDirectory() *never* *ever* returns NULL, making the checks for it completely unnecessary. Signed-off-by: Fabiano Fidêncio --- src/locking/lock_daemon.c | 11 +++ src/locking/lock_driver_lockd.c | 3

[libvirt] [PATCH 39/42] locking: Don't check the output of virGetUserRuntimeDirectory()

2019-12-19 Thread Fabiano Fidêncio
virGetUserRuntimeDirectory() *never* *ever* returns NULL, making the checks for it completely unnecessary. Signed-off-by: Fabiano Fidêncio --- src/locking/lock_daemon.c | 11 +++ src/locking/lock_driver_lockd.c | 3 +-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git