]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Don't check the output of virGetUserCacheDirectory()
authorFabiano Fidêncio <fidencio@redhat.com>
Thu, 19 Dec 2019 09:12:56 +0000 (10:12 +0100)
committerFabiano Fidêncio <fidencio@redhat.com>
Fri, 20 Dec 2019 08:38:43 +0000 (09:38 +0100)
commit94c227de0a59e21b505cfd2dd7cdcf9e5360fb74
treef87656168a543bbbc48812f5cc8bcf43e84be637
parente09f723bf11d8bb771484f60663e5a1d830997e1
util: Don't check the output of virGetUserCacheDirectory()

virGetUserCacheDirectory() *never* *ever* returns NULL, making the
checks for it completely unnecessary.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virlog.c