Ensure all enum cases are listed in switch statements.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/security/security_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/security/security_driver.c b/src/security/security_driver.c
index 4800d5255a..a845dc7995 100644
--- a/src/security/security_driver.c
+++ b/src/security/security_driver.c
@@ -82,6 +82,7 @@ virSecurityDriverPtr virSecurityDriverLookup(const char *name,
}
break;
+ case SECURITY_DRIVER_ERROR:
default:
return NULL;
}
--
2.14.3