remove obsolete returns

This commit is contained in:
Robin Müller 2022-07-25 14:40:10 +02:00
parent 180210dc38
commit 380f1d0206
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -75,7 +75,6 @@ class EndianConverter {
}
#elif BYTE_ORDER_SYSTEM == BIG_ENDIAN
memcpy(out, in, size);
return;
#endif
}
@ -112,7 +111,6 @@ class EndianConverter {
for (size_t count = 0; count < size; count++) {
out[size - count - 1] = in[count];
}
return;
#elif BYTE_ORDER_SYSTEM == LITTLE_ENDIAN
memcpy(out, in, size);
#endif