src: add fallthrough attribute
authorÁlvaro Fernández Rojas <[email protected]>
Fri, 14 Nov 2025 07:19:17 +0000 (08:19 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 17 Nov 2025 07:28:54 +0000 (08:28 +0100)
commit38a31eb29a48da6c219cbbe49df30e36dba1d5db
treeda0e5cddd5098977cd2fb9a1ef70e8104d782f4c
parentb46d79c8792cd5de9aded0c83956cd5ac76f8697
src: add fallthrough attribute

- Enable fallthrough warnings.
- Use fallthrough attribute instead of comments.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Link: https://github.com/openwrt/odhcp6c/pull/120
CMakeLists.txt
src/dhcpv6.c
src/odhcp6c.h