|
![]() Click on image to see enlargment |
|
PC-lint/FlexeLint Output | Reference Manual Explanation | Home bug505.cpp
In an April Fool's prank, Letterman wanted to reverse the letters of "April" but was foiled in his attempt; the program prints "April". Where is his bug? bug505.cpp lint Output
--- Module: bug505.cpp (C++)
_
bot < top, *bot;
bug505.cpp(11) : Warning 505: Redundant left argument to comma
Reference Manual Explanation
505 Redundant left argument to comma -- The left argument to the comma
operator had no side effects in its top-most operator and hence is redundant.
If you have comments or questions about this bug, please post them to our Discussion Forum |
Previous Bug - Bug #573 - March 2007