remove unneeded spaces and empty lines

This commit is contained in:
XhmikosR 2012-10-02 08:25:26 +03:00 committed by PKEuS
parent 8d08c3b58b
commit 857ea9fb0d
4 changed files with 7 additions and 8 deletions

View File

@ -4,4 +4,4 @@ pushd %~dp0
if exist online-help.qhc del online-help.qhc if exist online-help.qhc del online-help.qhc
if exist online-help.qch del online-help.qch if exist online-help.qch del online-help.qch
qcollectiongenerator online-help.qhcp -o online-help.qhc qcollectiongenerator online-help.qhcp -o online-help.qhc

View File

@ -551,7 +551,7 @@ CLASS="programlisting"
CLASS="programlisting" CLASS="programlisting"
><?xml version="1.0"?> ><?xml version="1.0"?>
<results> <results>
<error file="file1.cpp" line="123" id="someError" <error file="file1.cpp" line="123" id="someError"
severity="error" msg="some error text"/> severity="error" msg="some error text"/>
&#60;/results&#62;</PRE &#60;/results&#62;</PRE
><P ><P
@ -882,10 +882,10 @@ CLASS="programlisting"
>Usage: cppcheck-htmlreport [options] >Usage: cppcheck-htmlreport [options]
Options: Options:
-h, --help show this help message and exit -h, --help show this help message and exit
--file=FILE The cppcheck xml output file to read defects from. --file=FILE The cppcheck xml output file to read defects from.
Default is reading from stdin. Default is reading from stdin.
--report-dir=REPORT_DIR --report-dir=REPORT_DIR
The directory where the html report content is written. The directory where the html report content is written.
--source-dir=SOURCE_DIR --source-dir=SOURCE_DIR
Base directory where source code files can be found.</PRE Base directory where source code files can be found.</PRE

View File

@ -46,4 +46,3 @@ where:
For real life examples see the cppcheck.cppcheck-file in the Cppcheck sources For real life examples see the cppcheck.cppcheck-file in the Cppcheck sources
root-directory or gui.cppcheck file in gui-directory. root-directory or gui.cppcheck file in gui-directory.

View File

@ -1888,7 +1888,7 @@ void CheckOther::functionVariableUsage()
// check if a local variable is used to initialize this variable // check if a local variable is used to initialize this variable
if (varid > 0) { if (varid > 0) {
Variables::VariableUsage *var = variables.find(varid); Variables::VariableUsage *var = variables.find(varid);
if (type == Variables::pointer) { if (type == Variables::pointer) {
variables.use(tok->tokAt(4)->varId()); variables.use(tok->tokAt(4)->varId());