PVS-StudioWarnings

PVS-Studio warning V628 for TPP

Nov 12th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.68 KB | None | 0 0
  1. int main(int argc, char** argv) {
  2.   ....
  3.   if (getIsInteractiveMode())
  4.     //p->writePepSHTML();
  5.   //p->printResult();
  6.  
  7.   // regression test?
  8.   if (testType!=NO_TEST) {
  9.      TagListComparator("InterProphetParser",
  10.                        testType,outfilename,testFileName);
  11.   ....
  12. }
  13.  
  14. This suspicious code was found in TPP project by PVS-Studio static code analyzer.
  15. Warning message is:
  16. V628 It's possible that the line was commented out improperly, thus altering the program's operation logics. interprophetmain.cxx 175
  17.  
  18. 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