From 548234ba502c9d3e71184c85af34aa7e30da416d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 15 Jul 2013 19:29:46 +0300 Subject: [PATCH] Trim trailing spaces. --- htdocs/archive/index.php | 2 +- man/manual.docbook | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/htdocs/archive/index.php b/htdocs/archive/index.php index 7642d7144..63eacddf2 100644 --- a/htdocs/archive/index.php +++ b/htdocs/archive/index.php @@ -39,7 +39,7 @@ uninitialized variables, unused functions" />

Cppcheck - Archive

This archive is for useful Cppcheck rules and library configuration files.

- +

If you have a rule or library configuration that you want to share, use this archive. Feel free to add any library or rule here.

diff --git a/man/manual.docbook b/man/manual.docbook index ffaaa9ac6..41f7b1a32 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -449,7 +449,7 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati callstack - callstack - if available + callstack - if available @@ -457,7 +457,7 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati file - filename + filename @@ -465,7 +465,7 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati id - message id + message id @@ -473,7 +473,7 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati line - line number + line number @@ -481,7 +481,7 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati message - verbose message text + verbose message text @@ -489,7 +489,7 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati severity - severity + severity @@ -754,7 +754,7 @@ void leak() Cppcheck doesn't normally report any errors for that: - # cppcheck test.c + # cppcheck test.c Checking test.c... Example configuration: @@ -773,7 +773,7 @@ Checking test.c... Output from Cppcheck: - # cppcheck --library=something.cfg test.c + # cppcheck --library=something.cfg test.c Checking test.c... [test.c:10]: (error) Memory leak: p @@ -806,7 +806,7 @@ Checking test.c... Running Cppcheck now: - # cppcheck --library=something.cfg test.c + # cppcheck --library=something.cfg test.c Checking test.c... [test.c:10]: (error) Memory leak: pIf the do_something takes the allocated memory and @@ -822,7 +822,7 @@ Checking test.c... </memory> </def>Running Cppcheck now: - # cppcheck --library=something.cfg test.c + # cppcheck --library=something.cfg test.c Checking test.c... Cppcheck will often assume that functions "use" allocated memory. @@ -953,7 +953,7 @@ Checking test1.c... The output is: - # cppcheck test.c + # cppcheck test.c Checking test.c... To tell Cppcheck that do_something is not a @@ -968,7 +968,7 @@ Checking test.c... Now Cppcheck will be able to detect the error: - cppcheck --library=something.cfg test.c + cppcheck --library=something.cfg test.c Checking test.c... [test.c:8]: (error) Uninitialized variable: a