From: Jérémie Astor Date: Mon, 16 Aug 2021 12:09:04 +0000 (+0200) Subject: :bug: Fix late warnings X-Git-Tag: nightly~470^2~75 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8ec06020fc31f727355b65c14cfdff52b03bbd23;p=gwion.git :bug: Fix late warnings --- diff --git a/src/emit/emit.c b/src/emit/emit.c index a26111c3..d35b606e 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -944,7 +944,7 @@ ANN static void set_late(const Gwion gwion, const Exp_Decl *decl, } static inline bool _late_array(const Array_Sub array) { - return array && !array->exp; + return !array || !array->exp; } ANN static inline bool late_array(const Type_Decl *td, const Var_Decl var) {