Avoid 'control may reach end of non-void function' warnings