Ticket #5024: Don't crash upon invalid code when checking auto variables.
Merge pull request #171 from simartin/ticket_5024

Ticket #5024: Don't crash upon invalid code when checking auto variables