check_signed: check int types as well
[smatch.git] / validation / badtype3.c
blob198ef874d1d8a857435565c43b83eeebfd2f175e
1 int
2 foo (int (*func) (undef, void *), void *data)
4 int err = 0;
5 while (cur) {
6 if ((*func) (cur, data))
7 break;
9 return err;