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

[libvirt] [PATCH] libxl: Resove Coverity dead_error_begin



Coverity complains about default: label not be able to be reached.  It's by
design for the code, so just add a Coverity tag for dead_error_begin

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

diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index fc0efa2..513a597 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -4168,6 +4168,7 @@ libxlDomainGetNumaParameters(virDomainPtr dom,
 
             break;
 
+        /* coverity[dead_error_begin] */
         default:
             break;
         }
-- 
1.8.4.2


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