diff options
Diffstat (limited to 'hal/untyped.c')
| -rw-r--r-- | hal/untyped.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hal/untyped.c b/hal/untyped.c index e76dd0e..6957175 100644 --- a/hal/untyped.c +++ b/hal/untyped.c @@ -18,7 +18,6 @@ int untyped_split(jove_owned_obj_t *tgt, jove_owned_obj_t *dst, size_t bytes) { jove_untyped_t *tgt_untyped = obj_deref(tgt); - if(bytes < JOVE_UNTYPED_MINSIZE) return EBADARG; if(tgt_untyped->limit - bytes < JOVE_UNTYPED_MINSIZE) return ETOOSMALL; tgt_untyped->limit -= bytes; |
