On a Wednesday in 2023, Jonathon Jongsma wrote:
Ensure that new virDomainVideoDef objects have their 'type' set to
VIR_DOMAIN_VIDEO_TYPE_DEFAULT and remove places that this value is set
after construction. Since virDomainVideoDefNew() uses g_new0() allocate
the instance, all fields are initialized to 0.

Signed-off-by: Jonathon Jongsma <jjong...@redhat.com>
---
src/conf/domain_conf.c | 3 ---
src/conf/domain_conf.h | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to