Skip to content

Commit 548234b

Browse files
XhmikosRdanmar
authored andcommitted
Trim trailing spaces.
1 parent 29475d0 commit 548234b

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

htdocs/archive/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<div class="wrap">
4040
<h1>Cppcheck - Archive</h1>
4141
<p>This archive is for useful Cppcheck rules and library configuration files.</p>
42-
42+
4343
<p> If you have a rule or library configuration that you want to share, use this
4444
archive. Feel free to add any library or rule here.</p>
4545

man/manual.docbook

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -449,47 +449,47 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati
449449
<term>callstack</term>
450450

451451
<listitem>
452-
callstack - if available
452+
callstack - if available
453453
</listitem>
454454
</varlistentry>
455455

456456
<varlistentry>
457457
<term>file</term>
458458

459459
<listitem>
460-
filename
460+
filename
461461
</listitem>
462462
</varlistentry>
463463

464464
<varlistentry>
465465
<term>id</term>
466466

467467
<listitem>
468-
message id
468+
message id
469469
</listitem>
470470
</varlistentry>
471471

472472
<varlistentry>
473473
<term>line</term>
474474

475475
<listitem>
476-
line number
476+
line number
477477
</listitem>
478478
</varlistentry>
479479

480480
<varlistentry>
481481
<term>message</term>
482482

483483
<listitem>
484-
verbose message text
484+
verbose message text
485485
</listitem>
486486
</varlistentry>
487487

488488
<varlistentry>
489489
<term>severity</term>
490490

491491
<listitem>
492-
severity
492+
severity
493493
</listitem>
494494
</varlistentry>
495495
</variablelist>
@@ -754,7 +754,7 @@ void leak()
754754

755755
<para>Cppcheck doesn't normally report any errors for that:</para>
756756

757-
<programlisting># cppcheck test.c
757+
<programlisting># cppcheck test.c
758758
Checking test.c...</programlisting>
759759

760760
<para>Example configuration:</para>
@@ -773,7 +773,7 @@ Checking test.c...</programlisting>
773773

774774
<para>Output from <literal>Cppcheck</literal>:</para>
775775

776-
<programlisting># cppcheck --library=something.cfg test.c
776+
<programlisting># cppcheck --library=something.cfg test.c
777777
Checking test.c...
778778
[test.c:10]: (error) Memory leak: p</programlisting>
779779
</section>
@@ -806,7 +806,7 @@ Checking test.c...
806806

807807
<para>Running <literal>Cppcheck</literal> now:</para>
808808

809-
<para><programlisting># cppcheck --library=something.cfg test.c
809+
<para><programlisting># cppcheck --library=something.cfg test.c
810810
Checking test.c...
811811
[test.c:10]: (error) Memory leak: p</programlisting>If the
812812
<literal>do_something</literal> takes the allocated memory and
@@ -822,7 +822,7 @@ Checking test.c...
822822
&lt;/memory&gt;
823823
&lt;/def&gt;</programlisting>Running Cppcheck now:</para>
824824

825-
<programlisting># cppcheck --library=something.cfg test.c
825+
<programlisting># cppcheck --library=something.cfg test.c
826826
Checking test.c...</programlisting>
827827

828828
<para>Cppcheck will often assume that functions "use" allocated memory.
@@ -953,7 +953,7 @@ Checking test1.c...
953953

954954
<para>The output is:</para>
955955

956-
<programlisting># cppcheck test.c
956+
<programlisting># cppcheck test.c
957957
Checking test.c...</programlisting>
958958

959959
<para>To tell Cppcheck that <literal>do_something</literal> is not a
@@ -968,7 +968,7 @@ Checking test.c...</programlisting>
968968

969969
<para>Now Cppcheck will be able to detect the error:</para>
970970

971-
<programlisting>cppcheck --library=something.cfg test.c
971+
<programlisting>cppcheck --library=something.cfg test.c
972972
Checking test.c...
973973
[test.c:8]: (error) Uninitialized variable: a</programlisting>
974974
</section>

0 commit comments

Comments
 (0)