properly zero-init a variable