Why is the return value of `f` not used here?