Static analysis fixes - BOOL pointers