Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void reinitdoit(double *told)
- {
- int keve = 0, kiwa = 0;
- ....
- kiwa = 0;
- ....
- for (i = 0; i < kiwa; i++)
- ....
- }
- This suspicious code was found in Scilab project by PVS-Studio static code analyzer.
- Warning message is:
- V621 Consider inspecting the 'for' operator. It's possible that the loop will be executed incorrectly or won't be executed at all. scicos.c 4432
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement