[mythtv] [mythtv-commits] Ticket #7167: Check the return value of function calls inside of mythfrontend

Mark Spieth mark at digivation.com.au
Fri Sep 25 23:33:18 UTC 2009

> I'd sooner remove the return value of BuildFocusList() than add all those
> checks. The only time we return false would is when we're missing
> focusable widgets and that's perfectly valid if the screen works without
> them. If the screen doesn't work without them then it's a code error, the
> author has failed to check that the required widgets exist in the theme.
> So altogether it's redundant for BuildFocusList() to return any value at
> all.

can you put in a pragma or something so that it is flagged as catered for by 
the scanning/check tool?


More information about the mythtv-dev mailing list