v 0. Pasted by FordPerfect as xml at 2014-12-23 01:54:15 MSK and set expiration to never.

Paste will expire never.

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <results version="2">
  3.     <cppcheck version="1.67"/>
  4.     <errors>
  5.         <error id="nullPointer" severity="error" msg="Possible null pointer dereference: itemClass" verbose="Possible null pointer dereference: itemClass">
  6.             <location file="inititems.h" line="7"/>
  7.         </error>
  8.         <error id="cstyleCast" severity="style" msg="C-style pointer casting" verbose="C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to any of those automatically, thus it is considered safer if the programmer explicitly states which kind of cast is expected. See also: https://www.securecoding.cert.org/confluence/display/cplusplus/EXP05-CPP.+Do+not+use+C-style+casts.">
  9.             <location file="engine.h" line="981"/>
  10.         </error>
  11.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;Valid&amp;#039;." verbose="Non-pure function: &amp;#039;Valid&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  12.             <location file="engine.h" line="208"/>
  13.         </error>
  14.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;Valid&amp;#039;." verbose="Non-pure function: &amp;#039;Valid&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  15.             <location file="engine.h" line="357"/>
  16.         </error>
  17.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;Valid&amp;#039;." verbose="Non-pure function: &amp;#039;Valid&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  18.             <location file="engine.h" line="430"/>
  19.         </error>
  20.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;GetWall&amp;#039;." verbose="Non-pure function: &amp;#039;GetWall&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  21.             <location file="enginefuncs.h" line="205"/>
  22.         </error>
  23.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;GetWall&amp;#039;." verbose="Non-pure function: &amp;#039;GetWall&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  24.             <location file="enginefuncs.h" line="236"/>
  25.         </error>
  26.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;GetWall&amp;#039;." verbose="Non-pure function: &amp;#039;GetWall&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  27.             <location file="enginefuncs.h" line="255"/>
  28.         </error>
  29.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;GetWall&amp;#039;." verbose="Non-pure function: &amp;#039;GetWall&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  30.             <location file="enginefuncs.h" line="263"/>
  31.         </error>
  32.         <error id="assertWithSideEffect" severity="warning" msg="Assert statement calls a function which may have desired side effects: &amp;#039;GetWall&amp;#039;." verbose="Non-pure function: &amp;#039;GetWall&amp;#039; is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.">
  33.             <location file="enginefuncs.h" line="300"/>
  34.         </error>
  35.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;Topology::maxheight&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;Topology::maxheight&amp;#039; is not initialized in the constructor.">
  36.             <location file="topology.h" line="105"/>
  37.         </error>
  38.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;Topology::lastLabel&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;Topology::lastLabel&amp;#039; is not initialized in the constructor.">
  39.             <location file="topology.h" line="105"/>
  40.         </error>
  41.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;Level::seed&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;Level::seed&amp;#039; is not initialized in the constructor.">
  42.             <location file="megamap.h" line="8"/>
  43.         </error>
  44.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::index&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::index&amp;#039; is not initialized in the constructor.">
  45.             <location file="itemclasses.h" line="90"/>
  46.         </error>
  47.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::type&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::type&amp;#039; is not initialized in the constructor.">
  48.             <location file="itemclasses.h" line="90"/>
  49.         </error>
  50.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::needGround&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::needGround&amp;#039; is not initialized in the constructor.">
  51.             <location file="itemclasses.h" line="90"/>
  52.         </error>
  53.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::unitFly&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::unitFly&amp;#039; is not initialized in the constructor.">
  54.             <location file="itemclasses.h" line="90"/>
  55.         </error>
  56.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::unitPlayer&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::unitPlayer&amp;#039; is not initialized in the constructor.">
  57.             <location file="itemclasses.h" line="90"/>
  58.         </error>
  59.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::unitHealth&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::unitHealth&amp;#039; is not initialized in the constructor.">
  60.             <location file="itemclasses.h" line="90"/>
  61.         </error>
  62.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::unitDefaultweapon&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::unitDefaultweapon&amp;#039; is not initialized in the constructor.">
  63.             <location file="itemclasses.h" line="90"/>
  64.         </error>
  65.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::unitBorner&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::unitBorner&amp;#039; is not initialized in the constructor.">
  66.             <location file="itemclasses.h" line="90"/>
  67.         </error>
  68.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpReloadTime&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpReloadTime&amp;#039; is not initialized in the constructor.">
  69.             <location file="itemclasses.h" line="90"/>
  70.         </error>
  71.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpBulletsInShot&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpBulletsInShot&amp;#039; is not initialized in the constructor.">
  72.             <location file="itemclasses.h" line="90"/>
  73.         </error>
  74.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpArmorsInShot&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpArmorsInShot&amp;#039; is not initialized in the constructor.">
  75.             <location file="itemclasses.h" line="90"/>
  76.         </error>
  77.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpArmorIndex&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpArmorIndex&amp;#039; is not initialized in the constructor.">
  78.             <location file="itemclasses.h" line="90"/>
  79.         </error>
  80.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpIndex&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpIndex&amp;#039; is not initialized in the constructor.">
  81.             <location file="itemclasses.h" line="90"/>
  82.         </error>
  83.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpInitialArmor&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpInitialArmor&amp;#039; is not initialized in the constructor.">
  84.             <location file="itemclasses.h" line="90"/>
  85.         </error>
  86.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpHasEmptyImage&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpHasEmptyImage&amp;#039; is not initialized in the constructor.">
  87.             <location file="itemclasses.h" line="90"/>
  88.         </error>
  89.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::wpBulletClass&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::wpBulletClass&amp;#039; is not initialized in the constructor.">
  90.             <location file="itemclasses.h" line="90"/>
  91.         </error>
  92.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::blDamage&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::blDamage&amp;#039; is not initialized in the constructor.">
  93.             <location file="itemclasses.h" line="90"/>
  94.         </error>
  95.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::blDistance&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::blDistance&amp;#039; is not initialized in the constructor.">
  96.             <location file="itemclasses.h" line="90"/>
  97.         </error>
  98.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::blFly&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::blFly&amp;#039; is not initialized in the constructor.">
  99.             <location file="itemclasses.h" line="90"/>
  100.         </error>
  101.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::blWeaponClass&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::blWeaponClass&amp;#039; is not initialized in the constructor.">
  102.             <location file="itemclasses.h" line="90"/>
  103.         </error>
  104.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::armIndex&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::armIndex&amp;#039; is not initialized in the constructor.">
  105.             <location file="itemclasses.h" line="90"/>
  106.         </error>
  107.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::armCount&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::armCount&amp;#039; is not initialized in the constructor.">
  108.             <location file="itemclasses.h" line="90"/>
  109.         </error>
  110.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::hlCount&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::hlCount&amp;#039; is not initialized in the constructor.">
  111.             <location file="itemclasses.h" line="90"/>
  112.         </error>
  113.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;ItemClass::keyCode&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;ItemClass::keyCode&amp;#039; is not initialized in the constructor.">
  114.             <location file="itemclasses.h" line="90"/>
  115.         </error>
  116.         <error id="uninitMemberVar" severity="warning" msg="Member variable &amp;#039;Menu::choise&amp;#039; is not initialized in the constructor." verbose="Member variable &amp;#039;Menu::choise&amp;#039; is not initialized in the constructor.">
  117.             <location file="menu.h" line="117"/>
  118.         </error>
  119.     </errors>
  120. </results>


Editing is locked.