]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix Shred.fromId
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 24 Feb 2020 23:28:49 +0000 (00:28 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 24 Feb 2020 23:28:49 +0000 (00:28 +0100)
src/lib/shred.c

index 0e3f1e8f824edee9dfc5de8206de2aaefe604ba6..07a20e71244b39a66e68311b0ef4c6f5798f5892 100644 (file)
@@ -73,8 +73,8 @@ static SFUN(vm_shred_from_id) {
         return;
       }
     }
-  } else
-      *(m_uint*)RETURN = 0;
+  }
+  *(m_uint*)RETURN = 0;
 }
 
 static MFUN(shred_args) {