Fix compiler warning with assertions turned off.

This variable is unused outside the NSAssert.
@samgro Would probably prefer to add 

`if ((attrs & anyAttribute) == 0) return;` after the `NSAssert`