[libvirt] [PATCH 1/2] qemu: Fix build error in Coverity environment

John Ferlan jferlan at redhat.com
Thu Nov 19 14:06:04 UTC 2015


Commit id '08600de37' changed the prototype to reduce an argument, but
didn't adjust the ATTRIBUTE_NONNULL(11) to (10)

Signed-off-by: John Ferlan <jferlan at redhat.com>
---
 src/qemu/qemu_command.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h
index 3d9f98c..bebdd27 100644
--- a/src/qemu/qemu_command.h
+++ b/src/qemu/qemu_command.h
@@ -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
-- 
2.5.0




More information about the libvir-list mailing list