]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fix gack clang warning
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 3 Apr 2020 14:36:08 +0000 (16:36 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 3 Apr 2020 14:36:08 +0000 (16:36 +0200)
src/lib/gack.c

index 67a12565f2bb953fb5a860789a74af4306d6da03..942734418620bdb753c8b9400637455d8e532900 100644 (file)
@@ -51,7 +51,7 @@ ANN static inline VM_Code get_gack(Type t) {
   do if(t->e->gack)
     return t->e->gack;
   while((t = t->e->parent));
-  return NULL; // unreachable
+  return t->e->gack; // unreachable
 }
 
 ANN static void prepare_call(const VM_Shred shred, const m_uint offset) {