Yes, the point here is that the function seems to be unused so maybe it could be simply removed instead of fixing it...