repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
parse.c: extract_tree: avoid uninitialized read on error path
[pet.git]
/
tests
/
inline6.c
blob
9cdfc5111f9c5b1affde168dc0bcd0c71ebf3394
1
inline
void
add2
(
int
*
a
)
2
{
3
int
t
=
2
;
4
a
[
0
] +=
t
;
5
}
6
7
inline
void
add3
(
int
*
a
)
8
{
9
int
t
=
3
;
10
a
[
0
] +=
t
;
11
}
12
13
void
foo
()
14
{
15
int
i
;
16
int
a
[
10
];
17
18
#pragma scop
19
for
(
i
=
0
;
i
<
10
; ++
i
) {
20
a
[
i
] =
0
;
21
add2
(&
a
[
i
]);
22
add3
(&
a
[
i
]);
23
}
24
#pragma endscop
25
}