null pointer: perform proper null pointer checking when no --enable=warning is given.