[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 10/26] qemu: Resolve Coverity DEADCODE



Add another 'dead_code_begin' - victims of our own coding practices

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

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 1ca98fb..6bba4a4 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -6297,6 +6297,7 @@ qemuBuildCpuArgStr(virQEMUDriverPtr driver,
                     virBufferAddLit(&buf, ",kvm=off");
                 break;
 
+            /* coverity[dead_error_begin] */
             case VIR_DOMAIN_KVM_LAST:
                 break;
             }
-- 
1.9.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]