]> Nishi Git Mirror - gwion.git/commitdiff
:art: Remove unseful check
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 10 Sep 2020 21:11:45 +0000 (23:11 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 10 Sep 2020 21:11:45 +0000 (23:11 +0200)
src/emit/emit.c

index 0329cd1d397dd812eae6465259dd4657831c42e7..f79bacdf8bd0e1d0a83b9e323acf112a79a7aeed 100644 (file)
@@ -732,8 +732,6 @@ ANN static m_bool emit_decl(const Emitter emit, const Exp_Decl* decl) {
       CHECK_BB(emit_exp_decl_non_static(emit, decl, list->self, r, var))
     else
       CHECK_BB(emit_exp_decl_global(emit, decl, list->self, r, var))
-    if(GET_FLAG(list->self->value->type, nonnull))
-      emit_add_instr(emit, GWOP_EXCEPT);
   } while((list = list->next));
   return GW_OK;
 }