fixed --doc output

This commit is contained in:
Daniel Marjamäki 2011-11-05 07:45:30 +01:00
parent 0c469bae41
commit d3b27c40fc
1 changed files with 1 additions and 2 deletions

View File

@ -369,7 +369,7 @@ public:
"* sizeof for numeric given as function argument\n" "* sizeof for numeric given as function argument\n"
"* incorrect length arguments for 'substr' and 'strncmp'\n" "* incorrect length arguments for 'substr' and 'strncmp'\n"
"* invalid usage of output stream. For example: std::cout << std::cout;'\n" "* invalid usage of output stream. For example: std::cout << std::cout;'\n"
"* too few arguments given to 'printf' or 'scanf;'\n" "* wrong number of arguments given to 'printf' or 'scanf;'\n"
// style // style
"* C-style pointer cast in cpp file\n" "* C-style pointer cast in cpp file\n"
@ -402,7 +402,6 @@ public:
"* testing is unsigned variable is positive\n" "* testing is unsigned variable is positive\n"
"* using bool in bitwise expression\n" "* using bool in bitwise expression\n"
"* Suspicious use of ; at the end of 'if/for/while' statement.\n" "* Suspicious use of ; at the end of 'if/for/while' statement.\n"
"* too much arguments given to 'printf' or 'scanf'\n"
// optimisations // optimisations
"* optimisation: detect post increment/decrement\n"; "* optimisation: detect post increment/decrement\n";