Menu

#5 Spurious *p++ constructs in code

open
nobody
None
5
2012-02-09
2012-02-09
John Byrd
No

On lines 510, 516, 522, 528, and 618 of trex.cc, there are several pointer increments of the form:

*p++

Where the value acquired by deferencing p is not used in any way. It is likely that the author meant:

p++

In all these places.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB