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
076c604de8
cppcheck
/
samples
/
arrayIndexOutOfBounds
/
bad.c
10 lines
85 B
C
Raw
Normal View
History
Unescape
Escape
Use FwdAnalysis in UnusedVar. This is still work-in-progress. Merging to master branch so it can be tested.
2018-12-13 18:52:56 +01:00
int
a
[
2
]
;
Fixing #3515 (Add samples/id/good|bad.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-22 14:52:31 +01:00
int
main
(
)
{
a
[
0
]
=
0
;
a
[
1
]
=
0
;
a
[
2
]
=
0
;
return
a
[
0
]
;
}