From d3b27c40fc9b029fcfc3df84fbf3f878a68baf52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 5 Nov 2011 07:45:30 +0100 Subject: [PATCH] fixed --doc output --- lib/checkother.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/checkother.h b/lib/checkother.h index d43871286..5858a3549 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -369,7 +369,7 @@ public: "* sizeof for numeric given as function argument\n" "* incorrect length arguments for 'substr' and 'strncmp'\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 "* C-style pointer cast in cpp file\n" @@ -402,7 +402,6 @@ public: "* testing is unsigned variable is positive\n" "* using bool in bitwise expression\n" "* Suspicious use of ; at the end of 'if/for/while' statement.\n" - "* too much arguments given to 'printf' or 'scanf'\n" // optimisations "* optimisation: detect post increment/decrement\n";