Add missing return value

Functions declared to return a value must actually do so. Otherwise the
return value is not necessarily anything valid, which is liable to
confuse things.

Change-Id: Ie38532105b20d403da6144a0c87a3f9cba620320