mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
security: handle missing switch enum cases
Ensure all enum cases are listed in switch statements. Reviewed-by: John Ferlan <jferlan@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
6c84533f04
commit
46f83e5cba
@ -82,6 +82,7 @@ virSecurityDriverPtr virSecurityDriverLookup(const char *name,
|
||||
}
|
||||
break;
|
||||
|
||||
case SECURITY_DRIVER_ERROR:
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user