repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implied ranges. Part #2. Filters
[smatch.git]
/
validation
/
badtype3.c
blob
198ef874d1d8a857435565c43b83eeebfd2f175e
1
int
2
foo
(
int
(*
func
) (
undef
,
void
*),
void
*
data
)
3
{
4
int
err
=
0
;
5
while
(
cur
) {
6
if
((*
func
) (
cur
,
data
))
7
break
;
8
}
9
return
err
;
10
}