summaryrefslogtreecommitdiff
path: root/test/test20-04.txt
blob: 63107ac517bf27ae20ac180b5918fd6a3453f171 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
test20.c: In function 'func2':
test20.c:16:9: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 100;
         ^
test20.c: In function 'func4':
test20.c:31:14: warning: Useless variable check 'ptr1'. It already was checked before
     else if (!ptr1 && ptr2)
              ^
test20.c: In function 'func6':
test20.c:52:9: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 100;
         ^
test20.c: In function 'func7':
test20.c:66:9: warning: Using parameter 'ptr1' without checking for null pointer
     ptr1->val = 100;
         ^
test20.c:67:9: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 200;
         ^
test20.c: In function 'func8':
test20.c:81:9: warning: Using parameter 'ptr1' without checking for null pointer
     ptr1->val = 100;
         ^
test20.c:82:9: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 200;
         ^