Commit <207709a03149e910323be2c8d1305313b30cdeaa> added `root` attribute to `virStateInitialize` function and marked it as NONNULL which is not correct because in `daemonRunStateInit` we call it with NULL. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- src/libvirt_internal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libvirt_internal.h b/src/libvirt_internal.h index 00ef7aaf25..72c61274a7 100644 --- a/src/libvirt_internal.h +++ b/src/libvirt_internal.h @@ -33,8 +33,7 @@ int virStateInitialize(bool privileged, bool mandatory, const char *root, virStateInhibitCallback inhibit, - void *opaque) - ATTRIBUTE_NONNULL(2); + void *opaque); int virStateCleanup(void); int virStateReload(void); int virStateStop(void); -- 2.24.1