Fix uninitialized warnings when running with --noaction

Fixes #25.

Thanks to @NZJourneyMan for the report.