Set default value to var referenced before assignment