]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Remove NONNULL from virHostdevReAttachMediatedDevices
authorJohn Ferlan <jferlan@redhat.com>
Mon, 27 Mar 2017 15:25:20 +0000 (11:25 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 27 Mar 2017 16:41:24 +0000 (12:41 -0400)
Causes build failure when enabling static analysis

src/util/virhostdev.h

index ff7c7b8454f61757116227658b2c3cd09da59860..54e1c66be36fe053b91df432423393b02adcc564 100644 (file)
@@ -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,