Fix compiler warning

  Possible use of uninitialized variable 'project'.