xblc: Clear local err pointer after calling warn_report_err

This commit is contained in:
Matt Borgerson
2026-02-18 23:23:38 -07:00
committed by mborgerson
parent addfc5c0c3
commit 0557e32f8e
+2
View File
@@ -322,11 +322,13 @@ static void xblc_realize(USBDevice *dev, Error **errp)
xblc_audio_channel_init(s, true, &err);
if (err) {
warn_report_err(err);
err = NULL;
}
xblc_audio_channel_init(s, false, &err);
if (err) {
warn_report_err(err);
err = NULL;
}
}