Remove a potential issue in test_parser.c

The tool scan-build marked up a potential dereference of a null pointer.