Ticket #1852: 0ad_cleaned.txt

File 0ad_cleaned.txt, 14.2 KB (added by Mr. X, 11 years ago)
Line 
1[..\libraries\source\fcollada\include\FUtils\FUTracker.h:122]: (warning) Redundant assignment of 'ptr' to itself.
2[..\libraries\source\fcollada\include\FMath\FMTree.h:610]: (warning) Member variable 'tree::sized' is not assigned a value in 'tree::operator='.
3[..\libraries\source\fcollada\include\FMath\FMVector3.h:120]: (warning) Member variable 'FMVector3::w' is not assigned a value in 'FMVector3::operator='.
4[collada\CommonConvert.h:88]: (style) Unused private function: 'FColladaDocument::ReadExtras'
5[lib\timer.h:217]: (style) The class 'TimerUnit' does not have a constructor.
6[ps\Overlay.h:175]: (style) 'CPos::operator=' should return 'CPos &'.
7[ps\Overlay.h:214]: (style) 'CSize::operator=' should return 'CSize &'.
8[ps\Overlay.h:82]: (style) 'CRect::operator=' should return 'CRect &'.
9[scripting\ScriptableObject.h:393]: (style) Unused private function: 'CJSObject::JSGetProperty'
10[scripting\ScriptableObject.h:410]: (style) Unused private function: 'CJSObject::JSSetProperty'
11[scripting\ScriptableObject.h:426]: (style) Unused private function: 'CJSObject::DefaultFinalize'
12[lib\adts\ring_buf.h:139]: (performance) Function parameter 'right' should be passed by reference.
13[lib\adts\ring_buf.h:185]: (performance) Function parameter 'right' should be passed by reference.
14[simulation2\system\IComponent.h:33]: (style) The class 'IComponent' does not have a constructor.
15[graphics\MapReader.cpp:1452]: (style) Unused variable: waterType
16[graphics\MapWriter.cpp:320] -> [graphics\MapWriter.cpp:307]: (error) Possible null pointer dereference: pSimulation2 - otherwise it is redundant to check it against null.
17[graphics\ModelDef.cpp:169]: (warning) Casting between integer* and float* which have an incompatible binary data representation.
18[graphics\ModelDef.cpp:201]: (warning) Casting between integer* and float* which have an incompatible binary data representation.
19[graphics\ObjectBase.cpp:588]: (performance) Possible inefficient checking for 'remainingSelections' emptiness.
20[graphics\ObjectBase.cpp:614]: (performance) Possible inefficient checking for 'objectsQueue' emptiness.
21[simulation2\helpers\Grid.h:110]: (style) 'class SparseGrid' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
22[graphics\Unit.h:35]: (style) 'class CUnit' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
23[graphics\Unit.cpp:115]: (performance) Possible inefficient checking for 'remainingSelections' emptiness.
24[gui\GUIRenderer.h:72]: (style) 'DrawCalls::operator=' should return 'DrawCalls &'.
25[gui\scripting\ScriptFunctions.cpp:549]: (error) Null pointer dereference
26[lib\file\archive\archive_zip.cpp:603]: (error) Exception thrown in destructor.
27[lib\file\file.cpp:46] -> [lib\file\file.cpp:46]: (style) Same expression on both sides of '|'.
28[lib\file\vfs\vfs_populate.cpp:87]: (performance) Use const reference for 'name' to avoid unnecessary data copying.
29[lib\res\graphics\cursor.cpp:81]: (style) The class 'GLCursor' does not have a constructor.
30[lib\sysdep\os\win\wdbg_sym.cpp:978]: (style) Variable 'fmt' is assigned a value that is never used.
31[lib\sysdep\os\win\wposix\wpthread.cpp:394]: (warning) Conversion of string literal "this implementation ignores mode_t" to bool always evaluates to true.
32[lib\sysdep\os\win\wprintf.cpp:363]: (style) Variable 'stringchunk' is assigned a value that is never used.
33[lib\tex\tex.cpp:327] -> [lib\tex\tex.cpp:322]: (style) Found duplicate branches for 'if' and 'else'.
34[lib\tex\tex_bmp.cpp:90]: (warning) Conversion of string literal "bmp_hdr_size invalid" to bool always evaluates to true.
35[maths\Noise.h:33]: (style) 'class Noise2D' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
36[maths\Noise.h:48]: (style) 'class Noise3D' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
37[maths\tests\test_MD5.h:27]: (style) Variable 'digeststr' is not assigned a value.
38[network\fsm.cpp:289]: (error) Memory leak: pEvent
39[ps\CLogger.h:45]: (style) 'class CLogger' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
40[ps\GameSetup\Atlas.cpp:47] -> [ps\GameSetup\Atlas.cpp:45]: (style) Found duplicate branches for 'if' and 'else'.
41[ps\Game.h:39]: (style) 'class CGame' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
42[ps\Profiler2.h:131]: (style) 'class ThreadStorage' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
43[ps\Profile.h:41]: (style) 'class CProfileNode' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
44[ps\TouchInput.cpp:148]: (style) Variable 'newDist' is assigned a value that is never used.
45[ps\TouchInput.h:48]: (style) Unused private function: 'CTouchInput::OnFingerDown'
46[ps\TouchInput.h:49]: (style) Unused private function: 'CTouchInput::OnFingerUp'
47[ps\TouchInput.h:50]: (style) Unused private function: 'CTouchInput::OnFingerMotion'
48[ps\XML\XMLWriter.cpp:91]: (performance) Variable 'm_Data' is assigned in constructor body. Consider performing initialization in initialization list.
49[ps\XML\XeroXMB.h:166]: (style) Unused private function: 'XMBFile::ReadZStrA'
50[ps\XML\XeroXMB.cpp:40]: (warning) Conversion of string literal "Invalid XMB header!" to bool always evaluates to true.
51[ps\XML\XeroXMB.cpp:235]: (warning) Conversion of string literal "Element ID out of range" to bool always evaluates to true.
52[ps\XML\XeroXMB.cpp:278]: (warning) Conversion of string literal "Attribute ID out of range" to bool always evaluates to true.
53[lib\timer.h:245]: (portability) Casting from double* to integer* is not portable due to different binary data representations on different platforms.
54[ps\tests\test_Parser.h:120]: (style) Unused variable: str
55[renderer\ParticleRenderer.h:30]: (style) 'class ParticleRenderer' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
56[renderer\OverlayRenderer.h:35]: (style) 'class OverlayRenderer' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
57[renderer\OverlayRenderer.cpp:236]: (performance) Prefer prefix ++/-- operators for non-primitive types.
58[renderer\OverlayRenderer.cpp:508]: (performance) Prefer prefix ++/-- operators for non-primitive types.
59[renderer\SkyManager.cpp:67]: (performance) Variable 'm_SkySet' is assigned in constructor body. Consider performing initialization in initialization list.
60[renderer\VertexArray.cpp:79]: (warning) Conversion of string literal "Unsupported attribute type" to bool always evaluates to true.
61[renderer\WaterManager.cpp:53]: (performance) Variable 'm_WaterColor' is assigned in constructor body. Consider performing initialization in initialization list.
62[renderer\WaterManager.cpp:543]: (error) Memory leak: groundDirection
63[renderer\WaterManager.cpp:543]: (error) Memory leak: waveForceHQ
64[simulation2\components\CCmpAIManager.cpp:529]: (style) The class 'CCmpAIManager' does not have a constructor.
65[simulation2\components\CCmpAIManager.cpp:588]: (error) Boolean value assigned to pointer.
66[simulation2\components\CCmpObstructionManager.cpp:113]: (style) The class 'CCmpObstructionManager' does not have a constructor.
67[simulation2\components\CCmpRallyPointRenderer.cpp:790]: (style) Variable 'remainderDistance' is assigned a value that is never used.
68[simulation2\components\CCmpTemplateManager.cpp:34]: (style) The class 'CCmpTemplateManager' does not have a constructor.
69[simulation2\components\CCmpUnitMotion.cpp:581]: (style) Unused private function: 'CCmpUnitMotion::RequestShortPath'
70[simulation2\components\CCmpVisualActor.cpp:47]: (style) The class 'CCmpVisualActor' does not have a constructor.
71[simulation2\system\ComponentManagerSerialization.cpp:64]: (style) Unused variable: names
72[soundmanager\data\ogg.cpp:117]: (style) Statements following return, break, continue, goto or throw will never be executed.
73[soundmanager\data\ogg.cpp:184]: (style) Statements following return, break, continue, goto or throw will never be executed.
74[soundmanager\SoundManager.cpp:41]: (style) 'class CSoundManagerWorker' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
75[soundmanager\SoundManager.h:50]: (style) 'class CSoundManager' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
76[soundmanager\SoundManager.cpp:90]: (performance) Prefer prefix ++/-- operators for non-primitive types.
77[soundmanager\SoundManager.cpp:113]: (performance) Prefer prefix ++/-- operators for non-primitive types.
78[soundmanager\SoundManager.cpp:173]: (performance) Prefer prefix ++/-- operators for non-primitive types.
79[third_party\mikktspace\mikktspace.cpp:1372]: (style) Variable 'iUniqueTspaces' is assigned a value that is never used.
80[third_party\mikktspace\mikktspace.cpp:68]: (performance) Function parameter 'v1' should be passed by reference.
81[third_party\mikktspace\mikktspace.cpp:68]: (performance) Function parameter 'v2' should be passed by reference.
82[third_party\mikktspace\mikktspace.cpp:73]: (performance) Function parameter 'v1' should be passed by reference.
83[third_party\mikktspace\mikktspace.cpp:73]: (performance) Function parameter 'v2' should be passed by reference.
84[third_party\mikktspace\mikktspace.cpp:85]: (performance) Function parameter 'v1' should be passed by reference.
85[third_party\mikktspace\mikktspace.cpp:85]: (performance) Function parameter 'v2' should be passed by reference.
86[third_party\mikktspace\mikktspace.cpp:96]: (performance) Function parameter 'v' should be passed by reference.
87[third_party\mikktspace\mikktspace.cpp:107]: (performance) Function parameter 'v' should be passed by reference.
88[third_party\mikktspace\mikktspace.cpp:112]: (performance) Function parameter 'v' should be passed by reference.
89[third_party\mikktspace\mikktspace.cpp:117]: (performance) Function parameter 'v' should be passed by reference.
90[third_party\mikktspace\mikktspace.cpp:122]: (performance) Function parameter 'v1' should be passed by reference.
91[third_party\mikktspace\mikktspace.cpp:122]: (performance) Function parameter 'v2' should be passed by reference.
92[third_party\mikktspace\mikktspace.cpp:134]: (performance) Function parameter 'v' should be passed by reference.
93[third_party\mongoose\mongoose.cpp:3856]: (style) Variable 'buffered' is assigned a value that is never used.
94[third_party\mongoose\mongoose.cpp:2180]: (warning) scanf without field width limits can crash with huge input data.
95[third_party\mongoose\mongoose.cpp:2287]: (warning) scanf without field width limits can crash with huge input data.
96[third_party\mongoose\mongoose.cpp:3143]: (warning) scanf without field width limits can crash with huge input data.
97[third_party\mongoose\mongoose.cpp:3147]: (warning) scanf without field width limits can crash with huge input data.
98[third_party\mongoose\mongoose.cpp:3151]: (warning) scanf without field width limits can crash with huge input data.
99[third_party\mongoose\mongoose.cpp:3184]: (warning) scanf without field width limits can crash with huge input data.
100[third_party\mongoose\mongoose_orig.c:3812]: (style) Variable 'buffered' is assigned a value that is never used.
101[third_party\mongoose\mongoose_orig.c:1247]: (warning) Assignment of function parameter has no effect outside the function.
102[third_party\mongoose\mongoose_orig.c:3613]: (warning) Assignment of function parameter has no effect outside the function.
103[third_party\mongoose\mongoose_orig.c:3614]: (warning) Assignment of function parameter has no effect outside the function.
104[third_party\mongoose\mongoose_orig.c:2136]: (warning) scanf without field width limits can crash with huge input data.
105[third_party\mongoose\mongoose_orig.c:2243]: (warning) scanf without field width limits can crash with huge input data.
106[third_party\mongoose\mongoose_orig.c:3099]: (warning) scanf without field width limits can crash with huge input data.
107[third_party\mongoose\mongoose_orig.c:3103]: (warning) scanf without field width limits can crash with huge input data.
108[third_party\mongoose\mongoose_orig.c:3107]: (warning) scanf without field width limits can crash with huge input data.
109[third_party\mongoose\mongoose_orig.c:3140]: (warning) scanf without field width limits can crash with huge input data.
110[third_party\mongoose\mongoose.cpp:184]: (style) struct or union member 'timespec::tv_nsec' is never used.
111[third_party\mongoose\mongoose.cpp:871]: (warning) Assignment of function parameter has no effect outside the function.
112[third_party\mongoose\mongoose.cpp:889]: (warning) Assignment of function parameter has no effect outside the function.
113[third_party\mongoose\mongoose.cpp:1074]: (warning) Assignment of function parameter has no effect outside the function.
114[third_party\mongoose\mongoose.cpp:1159]: (warning) Assignment of function parameter has no effect outside the function.
115[third_party\mongoose\mongoose_orig.c:140]: (style) struct or union member 'timespec::tv_nsec' is never used.
116[third_party\mongoose\mongoose_orig.c:827]: (warning) Assignment of function parameter has no effect outside the function.
117[third_party\mongoose\mongoose_orig.c:845]: (warning) Assignment of function parameter has no effect outside the function.
118[third_party\mongoose\mongoose_orig.c:1030]: (warning) Assignment of function parameter has no effect outside the function.
119[third_party\mongoose\mongoose_orig.c:1115]: (warning) Assignment of function parameter has no effect outside the function.
120[tools\atlas\AtlasScript\ScriptInterface.cpp:706]: (style) Variable 'obj' is assigned a value that is never used.
121[tools\atlas\AtlasObject\AtlasObjectText.cpp:22]: (performance) Function parameter 'obj' should be passed by reference.
122[tools\atlas\GameInterface\MessagePasserImpl.cpp:169]: (style) Variable 'err' is assigned a value that is never used.
123[tools\autobuild2\startupservice\startupservice\startupserviceWinService.cpp:24]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
124[tools\autobuild2\startupservice\startupservice\startupserviceWinService.cpp:25]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.