Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int C2F(run)(void)
- {
- ....
- static int *Lpt = C2F(iop).lpt - 1;
- ....
- Lpt[1] = Lin[1 + k];
- Lpt[2] = Lin[2 + k];
- Lpt[3] = Lin[3 + k];
- Lpt[4] = Lin[4 + k];
- Lct[4] = Lin[6 + k ];
- Lpt[6] = k;
- ....
- }
- This suspicious code was found in Scilab project by PVS-Studio static code analyzer.
- Warning message is:
- V525 The code containing the collection of similar blocks. Check items '1', '2', '3', '4', '4' in lines 1005, 1006, 1007, 1008, 1009. run.c 1005
- 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