morphisms: remove 'return 0;' at end since it is now added by default
This commit is contained in:
parent
3f1397735c
commit
ef819b4711
11 changed files with 42 additions and 107 deletions
morphisms
|
@ -10,8 +10,6 @@ morph_array_as_valterm_to_lenpfx (Terminator:native.UInt8)
|
|||
length_prefix_uint64_t_array_uint8_t_clear(dst);
|
||||
while( *src != Terminator )
|
||||
length_prefix_uint64_t_array_uint8_t_push(dst, *src++);
|
||||
|
||||
return 0;
|
||||
```
|
||||
|
||||
|
||||
|
@ -23,8 +21,6 @@ morph_array_as_lenpfx_to_valterm (Terminator:native.UInt8)
|
|||
*dst++ = src->items[i];
|
||||
|
||||
*dst = Terminator;
|
||||
|
||||
return 0;
|
||||
```
|
||||
|
||||
morph_array_as_lenpfx_to_continuation_bit (T:Type)
|
||||
|
@ -42,6 +38,4 @@ morph_array_as_lenpfx_to_continuation_bit (T:Type)
|
|||
if( i+1 < src->len )
|
||||
dst[i] |= (1<<(n_bits-1));
|
||||
}
|
||||
|
||||
return 0;
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue