This website requires JavaScript.
Explore
Help
Sign In
walkero
/
cppcheck
Watch
1
Star
0
Fork
You've already forked cppcheck
0
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
10f93e31ef
cppcheck
/
samples
/
autoVariables
/
good.c
14 lines
121 B
C
Raw
Normal View
History
Unescape
Escape
Fixing #3515 (Add samples/id/good|bad.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-22 14:52:31 +01:00
void
foo
(
int
*
*
a
)
{
int
b
=
1
;
*
*
a
=
b
;
}
int
main
(
)
{
int
b
;
int
*
c
=
&
b
;
foo
(
&
c
)
;
samples; Fixed missing return in non-void functions
2021-07-04 16:59:09 +02:00
return
0
;
Fixing #3515 (Add samples/id/good|bad.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-22 14:52:31 +01:00
}