PVS-StudioWarnings

PVS-Studio warning V607 for TPP

Nov 12th, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. void TRANSLATE(int iFrame,
  2.       char *szNewSeq,
  3.       char *szSeq,
  4.       int  *iLenSeq)
  5. {
  6.   ...
  7.   *iLenSeq;
  8. }
  9.  
  10. This suspicious code was found in TPP project by PVS-Studio static code analyzer.
  11. Warning message is:
  12. V607 Ownerless expression '* iLenSeq'. Comet_fastadb comet-fastadb1.cxx 2241
  13.  
  14. 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