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
6235515889
cppcheck
/
samples
/
AssignmentAddressToInteger
/
bad.c
12 lines
96 B
C
Raw
Normal View
History
Unescape
Escape
Start fixing #3515 (Add samples/id/good|bad.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-17 22:03:21 +01:00
int
foo
(
int
*
p
)
{
int
a
=
p
;
return
a
+
4
;
}
samples: separate code blocks, remove extra empty lines at the end of files
2012-09-17 13:17:24 +02:00
Start fixing #3515 (Add samples/id/good|bad.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-17 22:03:21 +01:00
int
main
(
)
{
int
i
[
10
]
;
foo
(
i
)
;
}