|
![]() Click on image to see enlargment |
|
PC-lint/FlexeLint Output | Reference Manual Explanation | Home bug527.cpp
This function is intended to count the vowels in the string s provided as parameter, but it's taking its time about it. Can you spot the difficulty? bug527.cpp lint Output
--- Module: bug527.cpp (C++)
_
return sum;
bug527.cpp 16 Warning 527: Unreachable code at token 'return'
_
}
bug527.cpp 17 Info 818: Pointer parameter 's' (line 1) could be declared as pointing to const
Reference Manual Explanation527 Unreachable code at token Symbol -- A portion of the program cannot be reached. If you have comments or questions about this bug, please post them to our Discussion Forum |
Previous Bug - Bug #620 - July 2010