From: Jérémie Astor Date: Sun, 10 Apr 2022 17:21:40 +0000 (+0200) Subject: :art: Abort on unknown driver, as per jackojc suggestion X-Git-Tag: nightly~327 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=03cb4a6747a40070fa8fae0ba343e423a43f10e7;p=gwion.git :art: Abort on unknown driver, as per jackojc suggestion --- diff --git a/src/gwion.c b/src/gwion.c index 483d8bb8..b45ba76f 100644 --- a/src/gwion.c +++ b/src/gwion.c @@ -20,7 +20,7 @@ ANN m_bool gwion_audio(const Gwion gwion) { Driver *const di = gwion->vm->bbq; - if (di->si->arg) driver_ini(gwion); + if (di->si->arg) CHECK_BB(driver_ini(gwion)); di->func(di->driver); CHECK_BB(di->driver->ini(gwion->vm, di)); driver_alloc(di);