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
db: Avoid dereferencing null pointer
[smatch.git]
/
validation
/
logical.c
blob
3f97522712153258802b77345e5e552046823137
1
extern
int
a
(
void
);
2
extern
int
b
(
void
);
3
extern
int
c
(
void
);
4
5
static int
or
(
void
)
6
{
7
return
a
() ||
b
() ||
c
();
8
}
9
10
static int
and
(
void
)
11
{
12
return
a
() &&
b
() &&
c
();
13
}
14
/*
15
* check-name: Logical and/or
16
*/
17