]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
qemu: Fix build error in Coverity environment
authorJohn Ferlan <jferlan@redhat.com>
Thu, 19 Nov 2015 11:21:22 +0000 (06:21 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 19 Nov 2015 13:50:29 +0000 (08:50 -0500)
Commit id '08600de37' changed the prototype to reduce an argument, but
didn't adjust the ATTRIBUTE_NONNULL(11) to (10)

src/qemu/qemu_command.h

index 3d9f98cb96290b55bfd86d60213a66fe534ebaa9..bebdd27f98257e80bc601fedec71bb46ea3e22e5 100644 (file)
@@ -87,7 +87,7 @@ virCommandPtr qemuBuildCommandLine(virConnectPtr conn,
                                    virBitmapPtr nodeset,
                                    size_t *nnicindexes,
                                    int **nicindexes)
-    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(11);
+    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(10);
 
 /* Generate '-device' string for chardev device */
 int