From 2902771fa0de27a8963f949db2240bce52b6999b Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Mon, 27 Mar 2017 11:25:20 -0400 Subject: [PATCH] util: Remove NONNULL from virHostdevReAttachMediatedDevices Causes build failure when enabling static analysis --- src/util/virhostdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virhostdev.h b/src/util/virhostdev.h index ff7c7b8454..54e1c66be3 100644 --- a/src/util/virhostdev.h +++ b/src/util/virhostdev.h @@ -140,7 +140,7 @@ virHostdevReAttachMediatedDevices(virHostdevManagerPtr hostdev_mgr, const char *dom_name, virDomainHostdevDefPtr *hostdevs, int nhostdevs) - ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3); + ATTRIBUTE_NONNULL(1); int virHostdevUpdateActivePCIDevices(virHostdevManagerPtr mgr, virDomainHostdevDefPtr *hostdevs, -- GitLab