morphisms: remove 'return 0;' at end since it is now added by default

This commit is contained in:
Michael Sippel 2025-04-03 16:37:46 +02:00
parent 3f1397735c
commit ef819b4711
Signed by: senvas
GPG key ID: F96CF119C34B64A6
11 changed files with 42 additions and 107 deletions

View file

@ -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:)