Fixing compiler warnings of missing return value.