eval: ensure last is initialized.

Depending on the condition of the while loop, there was a chance
that 'last' could be returned uninitialized. Set 'last' to NULL
initially to ensure that it has a value when returned.