Remove unnecessary call to empty()