test34.cpp: In member function 'void Object1::func1(Data1*)': test34.cpp:55:15: warning: Using parameter 'ptr1' without checking for null pointer ptr1->val = 200; ^ test34.cpp: In member function 'void Object1::func2(Data1*)': test34.cpp:85:15: warning: Using parameter 'ptr1' without checking for null pointer ptr1->val = 200; ^ test34.cpp: In member function 'void Object1::func3(Data1*)': test34.cpp:97:19: warning: Using parameter 'ptr1' without checking for null pointer if (ptr1->val == 100) ^ test34.cpp: In member function 'void Object1::func4(Data1*)': test34.cpp:133:22: warning: Using parameter 'ptr1' without checking for null pointer while (ptr1->val == 100) ^