Fix potential "variable-sized object may not be initialized" warnings

Fixes #101