On Thu, Apr 01, 2021 at 05:41:00PM +0900, Naohiro Aota wrote: > Marking BUG() unreachable helps us silence unnecessary warnings e.g. > "warning: control reaches end of non-void function [-Wreturn-type]" like > the code below. > > int foo() > { > ... > if (XXX) > return 0; > else if (YYY) > return 1; > else > BUG(); > } > > Signed-off-by: Naohiro Aota <naohiro.a...@wdc.com>
Added to devel, thanks.