From 2952089a46478a1c8d0121a2a8ae818f299116f1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 26 Aug 2024 09:20:32 +0200 Subject: Remove useless assignment --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index ddfad7b..7338443 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } -- cgit v1.2.3