Pointer check to silence warning