Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(int argc, char **argv)
- {
- ...
- ii=0;
- for (i=0; pEnvironment.szPeptide[i]!=0; i++)
- ii =+ pEnvironment.szPeptide[i];
- ...
- }
- This is what should have been written here: ii += pEnvironment.szPeptide[i];
- This suspicious code was found in TPP project by PVS-Studio static code analyzer.
- Warning message is:
- V588 The expression of the 'A =+ B' kind is utilized. Consider reviewing it, as it is possible that 'A += B' was meant. plot_msms plot-msms1.cxx 478
- 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