Fix compile error in release configuration.
Removing stray NSError variable shadowing a parameter.