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
|
@ -11,7 +11,6 @@ morph_nat_as_u64_to_pos ()
|
|||
```
|
||||
dst->len = 1;
|
||||
dst->items[0] = *src;
|
||||
return 0;
|
||||
```
|
||||
|
||||
morph_nat_as_pos_to_u64 (Endianness:Type)
|
||||
|
@ -22,7 +21,6 @@ morph_nat_as_pos_to_u64 (Endianness:Type)
|
|||
~ native.UInt64
|
||||
```
|
||||
*dst = src->items[0];
|
||||
return 0;
|
||||
```
|
||||
|
||||
morph_posint_radix_le (SrcRadix:ℤ, DstRadix:ℤ)
|
||||
|
@ -52,8 +50,6 @@ morph_posint_radix_le (SrcRadix:ℤ, DstRadix:ℤ)
|
|||
value /= DstRadix;
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
```
|
||||
|
||||
morph_posint_radix_be (SrcRadix:ℤ, DstRadix:ℤ)
|
||||
|
@ -91,8 +87,6 @@ morph_posint_radix_be (SrcRadix:ℤ, DstRadix:ℤ)
|
|||
value /= DstRadix;
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
```
|
||||
|
||||
morph_posint_endianness (Radix:ℤ)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue