mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-23 13:21:11 +01:00
Some gcc versions seem to miscompile code using ternary operators, work around this by just returning the result if exp is 0. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>