diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-26 09:20:32 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-26 09:20:32 +0200 |
commit | 2952089a46478a1c8d0121a2a8ae818f299116f1 (patch) | |
tree | c5e45ac80460a273c17efdd40d0bf6e02c3c35b4 /src/main.c | |
parent | cf81a256ccb173cc0752f27ac99920cdc710c252 (diff) |
Remove useless assignment
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -188,8 +188,7 @@ bigendian(void) uint16_t u16; uint8_t u8[2]; } u = { - .u16 = 0x0102, + .u16 = 0x0102U, }; - u.u16 = 0x0102U; return u.u8[0] == 1; } |