PVS-StudioWarnings

PVS-Studio warning V525 for SeqAn

Nov 20th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. inline typename Value<Pipe>::Type const & operator*() {
  2.   tmp.i1 = *in.in1;
  3.   tmp.i2 = *in.in2;
  4.   tmp.i3 = *in.in2;
  5.   return tmp;
  6. }
  7.  
  8. This suspicious code was found in SeqAn project by PVS-Studio static code analyzer.
  9. Warning message is:
  10. V525 The code containing the collection of similar blocks. Check items 'in1', 'in2', 'in2' in lines 112, 113, 114. pipe_joiner.h 112
  11.  
  12. 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