* checking a pointer is useless if you dereference it in advance.