repo.or.cz
/
splint-patched.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't try calling lsl when file is missing.
[splint-patched.git]
/
test
/
returned.c
blob
0f90ef424f047574a231744f688ab29a145e4959
1
extern
char
*
returnme
(
/*@returned@*/
char
*
s
);
2
3
/*@only@*/
char
*
f
(
void
)
4
{
5
char
*
s
= (
char
*)
malloc
(
sizeof
(
char
));
6
*
s
=
'a'
;
7
8
if
(
3
>
4
)
9
{
10
return
s
;
11
}
12
else
13
{
14
return
returnme
(
s
);
15
}
16
}