Remove unused local variable

Fixes Xcode error: value stored but never read