diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-04 22:39:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-04 22:39:10 +0300 |
commit | c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd (patch) | |
tree | 39dc709ba8b62b3f11a6647b760ff6bd2088061e /test/test12-04.txt | |
parent | 92447d4e21edce67f88dbaded77fcc5d6f4f639e (diff) | |
download | paranucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.tar.gz paranucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.tar.bz2 paranucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.tar.xz paranucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.zip |
Update test results.
Diffstat (limited to 'test/test12-04.txt')
-rw-r--r-- | test/test12-04.txt | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/test/test12-04.txt b/test/test12-04.txt index 6f02bd5..ccc6c40 100644 --- a/test/test12-04.txt +++ b/test/test12-04.txt @@ -2,57 +2,57 @@ test12.cpp: In member function 'void Object1::func1(Data1*, Data1*)': test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer int val1 = ptr1 ? ptr1->val : ptr2->val; ^ -test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer +test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer test12.cpp: In member function 'void Object1::func2(Data1*, Data1*)': test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer int val1 = (!ptr1) ? ptr1->val : ptr2->val; ^ -test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer +test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer +test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer -test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer +test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer -test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer +test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer test12.cpp: In member function 'void Object1::func3(Data1*, Data1*)': test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer int val1 = (ptr1 && !ptr2) ? ptr1->val : ptr2->val; ^ -test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer +test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer test12.cpp: In member function 'void Object1::func4(Data1*, Data1*)': -test12.cpp:28:35: warning: Using parameter 'ptr2' without checking for null pointer +test12.cpp:28:35: warning: Using variable 'ptr2' without checking for null pointer if ((ptr1 ? ptr1 : ptr2)->val == 100) ^ -test12.cpp:30:28: warning: Using parameter 'ptr1' without checking for null pointer +test12.cpp:30:28: warning: Using variable 'ptr1' without checking for null pointer ptr1->val = 200; ^ -test12.cpp:30:28: warning: Using field 'ptr1' without checking for null pointer -test12.cpp:34:28: warning: Using parameter 'ptr2' without checking for null pointer +test12.cpp:30:28: warning: Using variable 'ptr1' without checking for null pointer +test12.cpp:34:28: warning: Using variable 'ptr2' without checking for null pointer ptr2->val = 300; ^ -test12.cpp:34:28: warning: Using field 'ptr2' without checking for null pointer +test12.cpp:34:28: warning: Using variable 'ptr2' without checking for null pointer test12.cpp: In member function 'void Object1::func5(Data1*, Data1*)': -test12.cpp:40:41: warning: Using parameter 'ptr2' without checking for null pointer +test12.cpp:40:41: warning: Using variable 'ptr2' without checking for null pointer int tmp = (ptr1 ? ptr1 : ptr2)->val; ^ test12.cpp: In member function 'void Object1::func7(Data1*, Data1*)': test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer int tmp = ptr1 ? ptr1->val : (!ptr2 ? ptr2->val : 0); ^ -test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer -test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer +test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer +test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer |