Avoided a warning about reading an undefined var.
Merge pull request #42 from fidlej/topic_no_undefined_read

Avoided a warning about reading an undefined var.