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

Ján Tomko jtomko at redhat.com
Thu Dec 19 19:31:58 UTC 2019


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 <fidencio at redhat.com>
>---
> src/locking/lock_daemon.c       | 11 +++--------
> src/locking/lock_driver_lockd.c |  3 +--
> 2 files changed, 4 insertions(+), 10 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191219/6048e60d/attachment-0001.sig>


More information about the libvir-list mailing list