initialise variable differently

This fixes a scan-build warning.