Why assign the return value to a variable when it's not used anywhere later on?