Expression of type unused

Can anyone point out what I am missing? thank you


This is basically the same as the following code:

let foo = "swift"

func bar() {
  foo // we're not doing anything with that value, consider removing it
}

// you can silence the warning though, but for what purpose?
func baz() {
  _ = foo
}