Remove unnecessary return value by setline() call