Jump to content

Cppcheck results for 0 A.D. trunk source


Recommended Posts

In case you don't know about Cppcheck: It's an open source static analyser for C++ code to detect possible bugs and performance issues and similar things. I did let it analyse the 0 A.D. source code. Here are the results (long list, more than 600 entries, most is style, but there are some errors and warnings like null pointer dereferences). There may be false assumptions made by the tool (always use your own brain in addition ;) ), but in general it's pretty good. The tool is also used in big projects like LibreOffice, for example, where it already helped fix some nasty bugs. Hope it helps. :)


[ps\Profiler2.h:382]: (style) C-style pointer casting
[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.
[lib\timer.h:217]: (style) The class 'TimerUnit' does not have a constructor.
[ps\XML\XeroXMB.h:129]: (warning) Member variable 'XMBFile::m_ElementNameCount' is not initialized in the constructor.
[ps\XML\XeroXMB.h:129]: (warning) Member variable 'XMBFile::m_AttributeNameCount' is not initialized in the constructor.
[ps\XML\XeroXMB.h:129]: (warning) Member variable 'XMBFile::m_ElementPointer' is not initialized in the constructor.
[ps\XML\XeroXMB.h:129]: (warning) Member variable 'XMBFile::m_AttributePointer' is not initialized in the constructor.
[ps\XML\XeroXMB.h:194]: (warning) Member variable 'XMBElementList::m_LastPointer' is not initialized in the constructor.
[ps\XML\XeroXMB.h:197]: (warning) Member variable 'XMBElementList::m_LastPointer' is not initialized in the constructor.
[ps\XML\XeroXMB.h:232]: (warning) Member variable 'XMBAttributeList::m_LastPointer' is not initialized in the constructor.
[ps\XML\XeroXMB.h:166]: (style) Unused private function: 'XMBFile::ReadZStrA'
[main.cpp:261]: (style) Exception should be caught by reference.
[collada\DLL.cpp:71]: (warning) Member variable 'BufferedOutputCallback::buffer' is not initialized in the constructor.
[collada\Decompose.cpp:278]: (style) The scope of the variable 'MadjT_one' can be reduced.
[collada\Decompose.cpp:278]: (style) The scope of the variable 'MadjT_inf' can be reduced.
[collada\Decompose.cpp:278]: (style) The scope of the variable 'gamma' can be reduced.
[collada\Decompose.cpp:278]: (style) The scope of the variable 'g1' can be reduced.
[collada\Decompose.cpp:278]: (style) The scope of the variable 'g2' can be reduced.
[graphics\Camera.cpp:37]: (warning) Member variable 'CCamera::m_NearPlane' is not initialized in the constructor.
[graphics\Camera.cpp:37]: (warning) Member variable 'CCamera::m_FarPlane' is not initialized in the constructor.
[graphics\Camera.cpp:37]: (warning) Member variable 'CCamera::m_FOV' is not initialized in the constructor.
[graphics\CinemaTrack.h:64]: (warning) Member variable 'CCinemaPath::m_CurrentNode' is not initialized in the constructor.
[graphics\CinemaTrack.cpp:33]: (warning) Member variable 'CCinemaPath::m_PreviousNodeTime' is not initialized in the constructor.
[graphics\CinemaTrack.cpp:33]: (warning) Member variable 'CCinemaPath::m_CurrentNode' is not initialized in the constructor.
[graphics\CinemaTrack.cpp:263]: (warning) Member variable 'CCinemaManager::m_DrawLines' is not initialized in the constructor.
[graphics\CinemaTrack.cpp:91]: (style) Variable 'start' is assigned a value that is never used.
[graphics\CinemaTrack.cpp:92]: (style) Variable 'time' is assigned a value that is never used.
[graphics\ColladaManager.cpp:67]: (warning) Member variable 'CColladaManagerImpl::set_logger' is not initialized in the constructor.
[graphics\ColladaManager.cpp:67]: (warning) Member variable 'CColladaManagerImpl::set_skeleton_definitions' is not initialized in the constructor.
[graphics\ColladaManager.cpp:67]: (warning) Member variable 'CColladaManagerImpl::convert_dae_to_pmd' is not initialized in the constructor.
[graphics\ColladaManager.cpp:67]: (warning) Member variable 'CColladaManagerImpl::convert_dae_to_psa' is not initialized in the constructor.
[graphics\ColladaManager.h:27]: (style) 'class CColladaManager' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[graphics\HeightMipmap.cpp:31]: (warning) Member variable 'CHeightMipmap::m_MapSize' is not initialized in the constructor.
[graphics\MapGenerator.cpp:30]: (warning) Member variable 'CMapGeneratorWorker::m_ScriptInterface' is not initialized in the constructor.
[graphics\MapGenerator.h:37]: (style) 'class CMapGenerator' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[graphics\MapReader.cpp:220]: (style) Variable 'end_time' is assigned a value that is never used.
[graphics\MapReader.cpp:1457]: (style) Unused variable: waterType
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pTerrain' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pWaterMan' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pSkyMan' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pPostproc' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pLightEnv' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pGameView' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pCinema' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pTrigMan' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pSimulation2' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::pSimContext' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::m_PlayerID' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::m_SkipEntities' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::only_xml' is not initialized in the constructor.
[graphics\MapReader.cpp:55]: (warning) Member variable 'CMapReader::num_terrain_tex' is not initialized in the constructor.
[graphics\MapReader.cpp:390]: (warning) Member variable 'CXMLReader::at_id' is not initialized in the constructor.
[graphics\MapWriter.cpp:320] -> [graphics\MapWriter.cpp:307]: (error) Possible null pointer dereference: pSimulation2 - otherwise it is redundant to check it against null.
[graphics\ModelDef.cpp:169]: (warning) Casting between integer* and float* which have an incompatible binary data representation.
[graphics\ModelDef.cpp:201]: (warning) Casting between integer* and float* which have an incompatible binary data representation.
[graphics\ObjectBase.cpp:588]: (performance) Possible inefficient checking for 'remainingSelections' emptiness.
[graphics\ObjectBase.cpp:614]: (performance) Possible inefficient checking for 'objectsQueue' emptiness.
[graphics\Patch.cpp:30]: (warning) Member variable 'CPatch::m_X' is not initialized in the constructor.
[graphics\Patch.cpp:30]: (warning) Member variable 'CPatch::m_Z' is not initialized in the constructor.
[graphics\TextureConverter.cpp:366]: (style) Variable 'hasAlpha' is assigned a value that is never used.
[graphics\TextureConverter.cpp:518]: (style) Variable 'textureConverter' is assigned a value that is never used.
[graphics\TextureManager.h:71]: (style) 'class CTextureManager' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[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.
[graphics\Unit.cpp:115]: (performance) Possible inefficient checking for 'remainingSelections' emptiness.
[gui\GUIRenderer.h:43]: (warning) Member variable 'SDrawCall::m_HasTexture' is not initialized in the constructor.
[gui\GUIRenderer.h:43]: (warning) Member variable 'SDrawCall::m_CellID' is not initialized in the constructor.
[gui\GUIRenderer.h:43]: (warning) Member variable 'SDrawCall::m_EnableBlending' is not initialized in the constructor.
[gui\GUIRenderer.h:43]: (warning) Member variable 'SDrawCall::m_DeltaZ' is not initialized in the constructor.
[gui\GUIRenderer.h:72]: (style) 'DrawCalls::operator=' should return 'DrawCalls &'.
[gui\IGUIObject.h:110]: (warning) Member variable 'SGUISetting::m_Type' is not initialized in the constructor.
[gui\CDropDown.cpp:298]: (style) The scope of the variable 'sprite2_second' can be reduced.
[gui\CGUI.h:97]: (style) 'class CGUI' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[gui\CGUIScrollBarVertical.cpp:29]: (warning) Member variable 'CGUIScrollBarVertical::m_RightAligned' is not initialized in the constructor.
[gui\CGUISprite.cpp:57]: (warning) Member variable 'CGUISpriteInstance::m_DrawCallCache' is not initialized in the constructor.
[gui\CInput.cpp:1126]: (style) The scope of the variable 'drawing_box' can be reduced.
[gui\CInput.cpp:1127]: (style) The scope of the variable 'box_x' can be reduced.
[gui\CInput.cpp:1129]: (style) The scope of the variable 'x_pointer' can be reduced.
[gui\CInput.cpp:1504]: (style) Variable 'destroy_row_from_used' is assigned a value that is never used.
[gui\CInput.cpp:1694]: (style) Variable 'destroy_row_from_used' is assigned a value that is never used.
[gui\CInput.cpp:1704]: (style) Variable 'destroy_row_to_used' is assigned a value that is never used.
[gui\CInput.cpp:46]: (warning) Member variable 'CInput::m_WantedX' is not initialized in the constructor.
[gui\CTooltip.cpp:154]: (style) The scope of the variable 'z' can be reduced.
[gui\GUITooltip.cpp:78]: (warning) Member variable 'GUITooltip::m_Time' is not initialized in the constructor.
[gui\GUITooltip.cpp:78]: (warning) Member variable 'GUITooltip::m_IsIconTooltip' is not initialized in the constructor.
[gui\GUItext.cpp:62]: (style) Variable 'tc' is assigned a value that is never used.
[gui\IGUIButtonBehavior.cpp:29]: (warning) Member variable 'IGUIButtonBehavior::m_PressedRight' is not initialized in the constructor.
[gui\IGUIScrollBar.cpp:29]: (warning) Member variable 'IGUIScrollBar::m_Z' is not initialized in the constructor.
[gui\IGUIScrollBar.cpp:29]: (warning) Member variable 'IGUIScrollBar::m_pHostObject' is not initialized in the constructor.
[gui\IGUIScrollBar.cpp:29]: (warning) Member variable 'IGUIScrollBar::m_PosWhenPressed' is not initialized in the constructor.
[gui\MiniMap.cpp:55]: (warning) Member variable 'CMiniMap::m_Camera' is not initialized in the constructor.
[gui\MiniMap.cpp:55]: (warning) Member variable 'CMiniMap::m_Width' is not initialized in the constructor.
[gui\MiniMap.cpp:55]: (warning) Member variable 'CMiniMap::m_Height' is not initialized in the constructor.
[gui\scripting\ScriptFunctions.cpp:554]: (error) Null pointer dereference
[lib\byte_order.cpp:1]: (information) Skipping configuration 'swap32' because it seems to be invalid. Use -D if you want to check it.
[lib\debug_stl.cpp:581]: (style) C-style pointer casting
[lib\debug_stl.cpp:582]: (style) C-style pointer casting
[lib\debug_stl.cpp:583]: (style) C-style pointer casting
[lib\debug_stl.cpp:595]: (style) C-style pointer casting
[lib\debug_stl.cpp:596]: (style) C-style pointer casting
[lib\debug_stl.cpp:257]: (style) C-style pointer casting
[lib\debug_stl.cpp:585]: (style) C-style pointer casting
[lib\debug_stl.cpp:586]: (style) C-style pointer casting
[lib\debug_stl.cpp:587]: (style) C-style pointer casting
[lib\debug_stl.cpp:588]: (style) C-style pointer casting
[lib\debug_stl.cpp:589]: (style) C-style pointer casting
[lib\ogl.cpp:70]: (warning) Conversion of string literal "call ogl_Init before using this function" to bool always evaluates to true.
[lib\ogl.cpp:189]: (warning) Conversion of string literal "call ogl_Init before using this function" to bool always evaluates to true.
[lib\path.cpp:57]: (style) The scope of the variable 'last_c1' can be reduced.
[lib\path.cpp:57]: (style) The scope of the variable 'c2' can be reduced.
[lib\allocators\headerless.cpp:444]: (style) C-style pointer casting
[lib\allocators\headerless.cpp:448]: (style) C-style pointer casting
[lib\allocators\headerless.cpp:460]: (style) C-style pointer casting
[lib\allocators\headerless.cpp:499]: (style) C-style pointer casting
[lib\allocators\headerless.cpp:57]: (warning) Member variable 'FreedBlock::prev' is not initialized in the constructor.
[lib\allocators\headerless.cpp:57]: (warning) Member variable 'FreedBlock::next' is not initialized in the constructor.
[lib\file\archive\archive_zip.cpp:461]: (style) C-style pointer casting
[lib\file\archive\archive_zip.cpp:525]: (style) C-style pointer casting
[lib\file\archive\archive_zip.cpp:601]: (style) C-style pointer casting
[lib\file\archive\archive_zip.cpp:690]: (style) C-style pointer casting
[lib\file\archive\archive_zip.cpp:698]: (style) C-style pointer casting
[lib\file\archive\archive_zip.cpp:603]: (error) Exception thrown in destructor.
[lib\file\vfs\vfs_populate.cpp:113]: (style) C-style pointer casting
[lib\res\h_mgr.cpp:199]: (style) C-style pointer casting
[lib\res\h_mgr.cpp:462]: (style) C-style pointer casting
[lib\res\h_mgr.cpp:647]: (style) C-style pointer casting
[lib\res\h_mgr.cpp:658]: (style) C-style pointer casting
[lib\res\h_mgr.cpp:773]: (style) C-style pointer casting
[lib\res\h_mgr.cpp:797]: (style) C-style pointer casting
[lib\res\graphics\cursor.cpp:81]: (style) The class 'GLCursor' does not have a constructor.
[lib\res\graphics\ogl_tex.cpp:874]: (style) C-style pointer casting
[lib\res\graphics\ogl_tex.cpp:880]: (style) C-style pointer casting
[lib\sysdep\smbios.cpp:394]: (style) C-style pointer casting
[lib\sysdep\smbios.cpp:448]: (style) Variable 'strings' is assigned a value that is never used.
[lib\sysdep\os\linux\dir_watch_inotify.cpp:110]: (style) The scope of the variable 'event_size' can be reduced.
[lib\sysdep\os\win\wdbg.cpp:128]: (style) struct or union member 'ThreadNameInfo::type' is never used.
[lib\sysdep\os\win\wdbg.cpp:130]: (style) struct or union member 'ThreadNameInfo::thread_id' is never used.
[lib\sysdep\os\win\wdbg.cpp:131]: (style) struct or union member 'ThreadNameInfo::flags' is never used.
[lib\sysdep\os\win\wdbg_sym.cpp:978]: (style) Variable 'fmt' is assigned a value that is never used.
[lib\sysdep\os\win\wdbg_sym.cpp:171]: (warning) Member variable 'TI_FINDCHILDREN_PARAMS2::childrenStorage' is not initialized in the constructor.
[lib\sysdep\os\win\wdir_watch.cpp:318]: (style) C-style pointer casting
[lib\sysdep\os\win\wdir_watch.cpp:342]: (style) C-style pointer casting
[lib\sysdep\os\win\wdir_watch.cpp:81]: (style) 'class DirWatchRequest' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[lib\sysdep\os\win\wdll_delay_load.cpp:463]: (style) C-style pointer casting
[lib\sysdep\os\win\wnuma.cpp:415]: (style) C-style pointer casting
[lib\sysdep\os\win\wnuma.cpp:208]: (style) C-style pointer casting
[lib\sysdep\os\win\wnuma.cpp:228]: (style) C-style pointer casting
[lib\sysdep\os\win\wnuma.cpp:229]: (style) C-style pointer casting
[lib\sysdep\os\win\wnuma.cpp:272]: (style) C-style pointer casting
[lib\sysdep\os\win\wsdl.cpp:1027]: (style) Statements following return, break, continue, goto or throw will never be executed.
[lib\sysdep\os\win\wsdl.cpp:1]: (information) Skipping configuration 'CONFIG2_WSDL;SDL_Swap32' because it seems to be invalid. Use -D if you want to check it.
[lib\sysdep\os\win\wsdl.cpp:1]: (information) Skipping configuration 'CONFIG2_WSDL;VK_PRINT' because it seems to be invalid. Use -D if you want to check it.
[lib\sysdep\os\win\wseh.cpp:116]: (style) C-style pointer casting
[lib\sysdep\os\win\wsysdep.cpp:185]: (style) C-style pointer casting
[lib\sysdep\os\win\whrt\hpet.cpp:142]: (style) C-style pointer casting
[lib\sysdep\os\win\whrt\hpet.cpp:49]: (warning) Member variable 'CounterHPET::m_frequency' is not initialized in the constructor.
[lib\sysdep\os\win\whrt\whrt.cpp:205]: (style) C-style pointer casting
[lib\sysdep\os\win\wposix\waio.cpp:162]: (style) C-style pointer casting
[lib\sysdep\os\win\wposix\waio.cpp:201]: (style) C-style pointer casting
[lib\sysdep\os\win\wposix\wpthread.cpp:614]: (style) C-style pointer casting
[lib\sysdep\os\win\wposix\wpthread.cpp:643]: (style) C-style pointer casting
[lib\sysdep\os\win\wposix\wpthread.cpp:394]: (warning) Conversion of string literal "this implementation ignores mode_t" to bool always evaluates to true.
[lib\sysdep\os\win\wposix\wtime.cpp:383]: (style) The scope of the variable 'ret' can be reduced.
[lib\tex\tex.cpp:637]: (portability) Returning an integer in a function with pointer return type is not portable.
[lib\tex\tex.cpp:188]: (style) C-style pointer casting
[lib\tex\tex.cpp:327] -> [lib\tex\tex.cpp:322]: (style) Found duplicate branches for 'if' and 'else'.
[lib\tex\tex_bmp.cpp:88]: (style) C-style pointer casting
[lib\tex\tex_bmp.cpp:100]: (style) C-style pointer casting
[lib\tex\tex_bmp.cpp:90]: (warning) Conversion of string literal "bmp_hdr_size invalid" to bool always evaluates to true.
[lib\tex\tex_dds.cpp:232]: (style) C-style pointer casting
[lib\tex\tex_dds.cpp:593]: (style) C-style pointer casting
[lib\tex\tex_jpg.cpp:362]: (style) C-style pointer casting
[lib\tex\tex_jpg.cpp:379]: (style) C-style pointer casting
[lib\tex\tex_png.cpp:82]: (style) C-style pointer casting
[maths\NUSpline.h:41]: (warning) Member variable 'RNSpline::MaxDistance' is not initialized in the constructor.
[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.
[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.
[maths\Quaternion.cpp:201]: (style) The scope of the variable 'omega' can be reduced.
[maths\Quaternion.cpp:201]: (style) The scope of the variable 'sinom' can be reduced.
[maths\scripting\JSInterface_Vector3D.cpp:106]: (style) C-style pointer casting
[maths\scripting\JSInterface_Vector3D.cpp:133]: (style) C-style pointer casting
[maths\scripting\JSInterface_Vector3D.cpp:192]: (style) C-style pointer casting
[maths\scripting\JSInterface_Vector3D.cpp:198]: (style) C-style pointer casting
[maths\scripting\JSInterface_Vector3D.h:41]: (style) 'struct Vector3D_Info' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[network\NetClient.cpp:337]: (style) C-style pointer casting
[network\NetClient.cpp:350]: (style) C-style pointer casting
[network\NetClient.cpp:365]: (style) C-style pointer casting
[network\NetClient.cpp:380]: (style) C-style pointer casting
[network\NetClient.cpp:402]: (style) C-style pointer casting
[network\NetClient.cpp:419]: (style) C-style pointer casting
[network\NetClient.cpp:421]: (style) C-style pointer casting
[network\NetClient.cpp:437]: (style) C-style pointer casting
[network\NetClient.cpp:463]: (style) C-style pointer casting
[network\NetClient.cpp:487]: (style) C-style pointer casting
[network\NetClient.cpp:501]: (style) C-style pointer casting
[network\NetClient.cpp:517]: (style) C-style pointer casting
[network\NetClient.cpp:534]: (style) C-style pointer casting
[network\NetClient.cpp:536]: (style) C-style pointer casting
[network\NetServer.cpp:602]: (style) C-style pointer casting
[network\NetServer.cpp:625]: (style) C-style pointer casting
[network\NetServer.cpp:696]: (style) C-style pointer casting
[network\NetServer.cpp:699]: (style) C-style pointer casting
[network\NetServer.cpp:734]: (style) C-style pointer casting
[network\NetServer.cpp:750]: (style) C-style pointer casting
[network\NetServer.cpp:776]: (style) C-style pointer casting
[network\NetServer.cpp:816]: (style) C-style pointer casting
[network\NetServer.h:97]: (style) 'class CNetServer' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[network\fsm.cpp:56]: (warning) Member variable 'CFsmTransition::m_NextState' is not initialized in the constructor.
[network\fsm.cpp:56]: (warning) Member variable 'CFsmTransition::m_Event' is not initialized in the constructor.
[network\fsm.cpp:289]: (error) Memory leak: pEvent
[ps\CConsole.cpp:125]: (style) Checking if unsigned variable 'L' is less than zero.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_iFontHeight' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_iFontWidth' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_iFontOffset' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_fX' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_fY' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_fHeight' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_fWidth' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_MaxHistoryLines' is not initialized in the constructor.
[ps\CConsole.cpp:48]: (warning) Member variable 'CConsole::m_bFocus' is not initialized in the constructor.
[ps\CConsole.h:52]: (style) 'class CConsole' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[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.
[ps\DllLoader.cpp:1]: (information) Skipping configuration 'INSTALLED_LIBDIR' because it seems to be invalid. Use -D if you want to check it.
[ps\FileIo.cpp:128]: (style) C-style pointer casting
[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.
[ps\Overlay.h:82]: (style) 'CRect::operator=' should return 'CRect &'.
[ps\Overlay.h:175]: (style) 'CPos::operator=' should return 'CPos &'.
[ps\Overlay.h:214]: (style) 'CSize::operator=' should return 'CSize &'.
[ps\Parser.cpp:451]: (style) The scope of the variable 'Progress' can be reduced.
[ps\Parser.cpp:453]: (style) The scope of the variable 'Match' can be reduced.
[ps\Parser.cpp:463]: (style) The scope of the variable 'BlockAltNode' can be reduced.
[ps\Parser.cpp:467]: (style) The scope of the variable 'LookNoFurther' can be reduced.
[ps\Parser.cpp:516]: (style) The scope of the variable 'OldNode' can be reduced.
[ps\Parser.cpp:732]: (style) The scope of the variable 'OldNode' can be reduced.
[ps\Parser.cpp:905]: (style) The scope of the variable 'OldNode' can be reduced.
[ps\Parser.cpp:231]: (warning) Member variable 'CParserTaskTypeNode::m_Letter' is not initialized in the constructor.
[ps\Parser.cpp:231]: (warning) Member variable 'CParserTaskTypeNode::m_Type' is not initialized in the constructor.
[ps\Parser.cpp:231]: (warning) Member variable 'CParserTaskTypeNode::m_AltNodeRepeatable' is not initialized in the constructor.
[ps\Parser.cpp:283]: (warning) Member variable 'CParserLine::m_ParseOK' is not initialized in the constructor.
[ps\Preprocessor.h:427]: (warning) Member variable 'CPreprocessor::Source' is not initialized in the constructor.
[ps\Preprocessor.h:427]: (warning) Member variable 'CPreprocessor::SourceEnd' is not initialized in the constructor.
[ps\Preprocessor.h:427]: (warning) Member variable 'CPreprocessor::Line' is not initialized in the constructor.
[ps\Preprocessor.h:427]: (warning) Member variable 'CPreprocessor::BOL' is not initialized in the constructor.
[ps\Preprocessor.h:427]: (warning) Member variable 'CPreprocessor::EnableOutput' is not initialized in the constructor.
[ps\Preprocessor.h:427]: (warning) Member variable 'CPreprocessor::ErrorData' is not initialized in the constructor.
[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.
[ps\ProfileViewer.cpp:46]: (warning) Member variable 'CProfileViewerInternals::profileVisible' is not initialized in the constructor.
[ps\ProfileViewer.cpp:578]: (style) Obsolete function 'asctime' called. It is recommended to use the function 'strftime' instead.
[ps\Profiler2.cpp:56]: (style) C-style pointer casting
[ps\Profiler2.cpp:234]: (style) C-style pointer casting
[ps\Profiler2.cpp:238]: (style) C-style pointer casting
[ps\Profiler2.cpp:61]: (style) The scope of the variable 'header200' can be reduced.
[ps\Profiler2.cpp:66]: (style) The scope of the variable 'header404' can be reduced.
[ps\Profiler2.cpp:71]: (style) The scope of the variable 'header400' can be reduced.
[ps\Profiler2GPU.h:31]: (style) 'class CProfiler2GPU' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[ps\SavedGame.cpp:117]: (style) C-style pointer casting
[ps\TouchInput.cpp:40]: (warning) Member variable 'CTouchInput::m_FirstTouchTime' is not initialized in the constructor.
[ps\TouchInput.cpp:40]: (warning) Member variable 'CTouchInput::m_PanDist' is not initialized in the constructor.
[ps\TouchInput.h:48]: (style) Unused private function: 'CTouchInput::OnFingerDown'
[ps\TouchInput.h:49]: (style) Unused private function: 'CTouchInput::OnFingerUp'
[ps\TouchInput.h:50]: (style) Unused private function: 'CTouchInput::OnFingerMotion'
[ps\VideoMode.cpp:44]: (warning) Member variable 'CVideoMode::m_IsFullscreen' is not initialized in the constructor.
[ps\VideoMode.cpp:44]: (warning) Member variable 'CVideoMode::m_CurrentW' is not initialized in the constructor.
[ps\VideoMode.cpp:44]: (warning) Member variable 'CVideoMode::m_CurrentH' is not initialized in the constructor.
[ps\VideoMode.cpp:44]: (warning) Member variable 'CVideoMode::m_CurrentBPP' is not initialized in the constructor.
[ps\GameSetup\Atlas.cpp:47] -> [ps\GameSetup\Atlas.cpp:45]: (style) Found duplicate branches for 'if' and 'else'.
[ps\GameSetup\GameSetup.cpp:167]: (warning) Assignment of function parameter has no effect outside the function.
[ps\GameSetup\GameSetup.cpp:1030]: (style) Exception should be caught by reference.
[ps\GameSetup\GameSetup.cpp:1077] -> [ps\GameSetup\GameSetup.cpp:1082]: (performance) Variable 'autoStartName' is reassigned a value before the old one has been used.
[ps\GameSetup\GameSetup.cpp:761]: (style) The scope of the variable 'LocaleEnvVars' can be reduced.
[ps\GameSetup\HWDetect.cpp:1]: (information) Skipping configuration 'OS_LINUX' because it seems to be invalid. Use -D if you want to check it.
[ps\GameSetup\Paths.cpp:1]: (information) Skipping configuration 'INSTALLED_DATADIR' because it seems to be invalid. Use -D if you want to check it.
[ps\GameSetup\Paths.h:93]: (style) Unused private function: 'Paths::XDG_Path'
[ps\XML\XeroXMB.cpp:40]: (warning) Conversion of string literal "Invalid XMB header!" to bool always evaluates to true.
[ps\XML\XeroXMB.cpp:235]: (warning) Conversion of string literal "Element ID out of range" to bool always evaluates to true.
[ps\XML\XeroXMB.cpp:278]: (warning) Conversion of string literal "Attribute ID out of range" to bool always evaluates to true.
[ps\scripting\JSInterface_VFS.cpp:71]: (style) C-style pointer casting
[renderer\HWLightingModelRenderer.cpp:132]: (style) C-style pointer casting
[renderer\HWLightingModelRenderer.cpp:250]: (style) C-style pointer casting
[renderer\InstancingModelRenderer.cpp:283]: (style) C-style pointer casting
[renderer\InstancingModelRenderer.cpp:322]: (style) C-style pointer casting
[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.
[renderer\OverlayRenderer.cpp:236]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[renderer\OverlayRenderer.cpp:508]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[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.
[renderer\PatchRData.cpp:874]: (warning) Member variable 'SBlendBatch::m_Texture' is not initialized in the constructor.
[renderer\PatchRData.cpp:1427]: (style) Variable 'indexBase' is assigned a value that is never used.
[renderer\Renderer.cpp:331]: (style) Variable 'proj' is assigned a value that is never used.
[renderer\TerrainOverlay.cpp:110]: (warning) Member variable 'TerrainOverlay::m_i' is not initialized in the constructor.
[renderer\TerrainOverlay.cpp:110]: (warning) Member variable 'TerrainOverlay::m_j' is not initialized in the constructor.
[renderer\TerrainRenderer.cpp:768]: (style) Variable 'size' is assigned a value that is never used.
[renderer\TexturedLineRData.h:64]: (warning) Member variable 'SVertex::_padding' is not initialized in the constructor.
[renderer\VertexArray.cpp:79]: (warning) Conversion of string literal "Unsupported attribute type" to bool always evaluates to true.
[renderer\VertexBuffer.h:40]: (style) 'class CVertexBuffer' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[scriptinterface\DebuggingServer.cpp:223]: (style) C-style pointer casting
[scriptinterface\DebuggingServer.cpp:48] -> [scriptinterface\DebuggingServer.cpp:50]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[scriptinterface\DebuggingServer.cpp:232]: (style) The scope of the variable 'header200' can be reduced.
[scriptinterface\DebuggingServer.cpp:237]: (style) The scope of the variable 'header404' can be reduced.
[scriptinterface\DebuggingServer.cpp:50]: (style) Variable 'str' is assigned a value that is never used.
[scriptinterface\DebuggingServer.cpp:40]: (performance) Possible inefficient checking for 'm_ThreadDebuggers' emptiness.
[scriptinterface\DebuggingServer.cpp:43]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\DebuggingServer.cpp:71]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\DebuggingServer.cpp:115]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\DebuggingServer.cpp:198]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\DebuggingServer.cpp:480]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\DebuggingServer.cpp:499]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\DebuggingServer.cpp:522]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\DebuggingServer.cpp:536]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\ThreadDebugger.h:30]: (performance) Variable 'm_Filename' is assigned in constructor body. Consider performing initialization in initialization list.
[scriptinterface\ThreadDebugger.cpp:33]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:41]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:50]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:59]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:67]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:75]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:83]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:91]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:99]: (style) C-style pointer casting
[scriptinterface\ThreadDebugger.cpp:396] -> [scriptinterface\ThreadDebugger.cpp:398]: (performance) Variable 'fp' is reassigned a value before the old one has been used.
[scriptinterface\ThreadDebugger.cpp:718]: (style) The scope of the variable 'fp' can be reduced.
[scriptinterface\ThreadDebugger.cpp:648]: (style) Unused variable: functionName
[scriptinterface\ThreadDebugger.cpp:168]: (warning) Member variable 'ThreadDebugger_impl::m_pScriptInterface' is not initialized in the constructor.
[scriptinterface\ThreadDebugger.cpp:168]: (warning) Member variable 'ThreadDebugger_impl::m_pDebuggingServer' is not initialized in the constructor.
[scriptinterface\ThreadDebugger.cpp:130]: (style) 'struct ThreadDebugger_impl' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[scriptinterface\ThreadDebugger.cpp:195]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\ThreadDebugger.cpp:227]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\ThreadDebugger.cpp:246]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\ThreadDebugger.cpp:316]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scriptinterface\ThreadDebugger.cpp:623]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[simulation2\Simulation2.h:46]: (style) 'class CSimulation2' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[simulation2\components\CCmpAIManager.cpp:914]: (style) The scope of the variable 'territoryMapDirty' can be reduced.
[simulation2\components\CCmpAIManager.cpp:921]: (style) Variable 'territoryMapDirty' is assigned a value that is never used.
[simulation2\components\CCmpAIManager.cpp:801]: (style) The class 'CCmpAIManager' does not have a constructor.
[simulation2\components\ICmpObstructionManager.h:437]: (warning) Member variable 'SkipTagRequireControlGroupsAndFlagObstructionFilter::m_Exclude' is not initialized in the constructor.
[simulation2\components\CCmpObstructionManager.cpp:113]: (style) The class 'CCmpObstructionManager' does not have a constructor.
[simulation2\components\ICmpSelectable.h:47]: (warning) Member variable 'SOverlayDescriptor::m_Type' is not initialized in the constructor.
[simulation2\components\CCmpSelectable.cpp:66]: (warning) Member variable 'CCmpSelectable::m_EditorOnly' is not initialized in the constructor.
[simulation2\components\CCmpSelectable.cpp:66]: (warning) Member variable 'CCmpSelectable::m_AlwaysVisible' is not initialized in the constructor.
[simulation2\components\CCmpSelectable.cpp:66]: (warning) Member variable 'CCmpSelectable::m_AlphaMin' is not initialized in the constructor.
[simulation2\components\CCmpTemplateManager.cpp:34]: (style) The class 'CCmpTemplateManager' does not have a constructor.
[simulation2\components\CCmpVisualActor.cpp:49]: (style) The class 'CCmpVisualActor' does not have a constructor.
[simulation2\components\ICmpAIManager.cpp:52]: (style) C-style pointer casting
[simulation2\system\ComponentManager.cpp:966]: (style) C-style pointer casting
[simulation2\system\IComponent.h:33]: (style) The class 'IComponent' does not have a constructor.
[simulation2\system\ComponentManagerSerialization.cpp:64]: (style) Unused variable: names
[soundmanager\SoundManager.cpp:260]: (warning) Member variable 'CSoundManager::m_SoundEnabled' is not initialized in the constructor.
[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.
[soundmanager\SoundManager.cpp:92]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[soundmanager\SoundManager.cpp:115]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[soundmanager\SoundManager.cpp:175]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[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.
[soundmanager\data\OggData.cpp:30]: (warning) Member variable 'COggData::m_Frequency' is not initialized in the constructor.
[soundmanager\data\OggData.cpp:30]: (warning) Member variable 'COggData::m_FileFinished' is not initialized in the constructor.
[soundmanager\data\OggData.cpp:30]: (warning) Member variable 'COggData::m_BuffersUsed' is not initialized in the constructor.
[soundmanager\data\ogg.cpp:85]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:103]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:126]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:133]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:157]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:170]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:193]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:200]: (style) C-style pointer casting
[soundmanager\data\ogg.cpp:117]: (style) Statements following return, break, continue, goto or throw will never be executed.
[soundmanager\data\ogg.cpp:184]: (style) Statements following return, break, continue, goto or throw will never be executed.
[soundmanager\data\ogg.cpp:217]: (warning) Member variable 'OggStreamImpl::info' is not initialized in the constructor.
[soundmanager\js\SoundGroup.cpp:87]: (warning) Member variable 'CSoundGroup::m_TimeWindow' is not initialized in the constructor.
[soundmanager\js\SoundGroup.cpp:82]: (warning) Member variable 'CSoundGroup::m_TimeWindow' is not initialized in the constructor.
[third_party\mikktspace\mikktspace.cpp:431]: (style) The scope of the variable 'bitang' can be reduced.
[third_party\mikktspace\mikktspace.cpp:1584]: (style) The scope of the variable 't' can be reduced.
[third_party\mikktspace\mikktspace.cpp:1372]: (style) Variable 'iUniqueTspaces' is assigned a value that is never used.
[third_party\mikktspace\mikktspace.cpp:68]: (performance) Function parameter 'v1' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:68]: (performance) Function parameter 'v2' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:73]: (performance) Function parameter 'v1' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:73]: (performance) Function parameter 'v2' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:85]: (performance) Function parameter 'v1' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:85]: (performance) Function parameter 'v2' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:96]: (performance) Function parameter 'v' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:107]: (performance) Function parameter 'v' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:112]: (performance) Function parameter 'v' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:117]: (performance) Function parameter 'v' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:122]: (performance) Function parameter 'v1' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:122]: (performance) Function parameter 'v2' should be passed by reference.
[third_party\mikktspace\mikktspace.cpp:134]: (performance) Function parameter 'v' should be passed by reference.
[third_party\mikktspace\weldmesh.cpp:46]: (style) The scope of the variable 'i' can be reduced.
[third_party\mongoose\mongoose.cpp:556]: (style) The scope of the variable 'fp' can be reduced.
[third_party\mongoose\mongoose.cpp:838]: (style) The scope of the variable 'buf' can be reduced.
[third_party\mongoose\mongoose.cpp:840]: (style) The scope of the variable 'len' can be reduced.
[third_party\mongoose\mongoose.cpp:1346]: (style) The scope of the variable 'k' can be reduced.
[third_party\mongoose\mongoose.cpp:1395]: (style) The scope of the variable 'n' can be reduced.
[third_party\mongoose\mongoose.cpp:1395]: (style) The scope of the variable 'buffered_len' can be reduced.
[third_party\mongoose\mongoose.cpp:1396]: (style) The scope of the variable 'buffered' can be reduced.
[third_party\mongoose\mongoose.cpp:1686]: (style) The scope of the variable 'days_before_month' can be reduced.
[third_party\mongoose\mongoose.cpp:1690]: (style) The scope of the variable 'leap_days' can be reduced.
[third_party\mongoose\mongoose.cpp:1690]: (style) The scope of the variable 'days' can be reduced.
[third_party\mongoose\mongoose.cpp:2073]: (style) The scope of the variable 'e' can be reduced.
[third_party\mongoose\mongoose.cpp:2107]: (style) The scope of the variable 'name' can be reduced.
[third_party\mongoose\mongoose.cpp:2408]: (style) The scope of the variable 'path' can be reduced.
[third_party\mongoose\mongoose.cpp:2521]: (style) The scope of the variable 'to_read' can be reduced.
[third_party\mongoose\mongoose.cpp:2521]: (style) The scope of the variable 'num_read' can be reduced.
[third_party\mongoose\mongoose.cpp:2521]: (style) The scope of the variable 'num_written' can be reduced.
[third_party\mongoose\mongoose.cpp:2675]: (style) The scope of the variable 'n' can be reduced.
[third_party\mongoose\mongoose.cpp:2747]: (style) The scope of the variable 'buffered' can be reduced.
[third_party\mongoose\mongoose.cpp:2748]: (style) The scope of the variable 'buf' can be reduced.
[third_party\mongoose\mongoose.cpp:2749]: (style) The scope of the variable 'to_read' can be reduced.
[third_party\mongoose\mongoose.cpp:2749]: (style) The scope of the variable 'nread' can be reduced.
[third_party\mongoose\mongoose.cpp:2749]: (style) The scope of the variable 'buffered_len' can be reduced.
[third_party\mongoose\mongoose.cpp:3070]: (style) The scope of the variable 'len' can be reduced.
[third_party\mongoose\mongoose.cpp:3099]: (style) The scope of the variable 'range' can be reduced.
[third_party\mongoose\mongoose.cpp:3134]: (style) The scope of the variable 'p' can be reduced.
[third_party\mongoose\mongoose.cpp:3136]: (style) The scope of the variable 'is_ssi' can be reduced.
[third_party\mongoose\mongoose.cpp:3467]: (style) The scope of the variable 'sock' can be reduced.
[third_party\mongoose\mongoose.cpp:3630]: (style) The scope of the variable 'pw' can be reduced.
[third_party\mongoose\mongoose.cpp:3892]: (style) The scope of the variable 'is_ssl' can be reduced.
[third_party\mongoose\mongoose.cpp:4097]: (style) The scope of the variable 'allowed' can be reduced.
[third_party\mongoose\mongoose.cpp:4222]: (style) The scope of the variable 'value' can be reduced.
[third_party\mongoose\mongoose.cpp:4222]: (style) The scope of the variable 'default_value' can be reduced.
[third_party\mongoose\mongoose.cpp:3856]: (style) Variable 'buffered' is assigned a value that is never used.
[third_party\mongoose\mongoose.cpp:2180]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose.cpp:2287]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose.cpp:3143]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose.cpp:3147]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose.cpp:3151]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose.cpp:3184]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose.cpp:934]: (style) The scope of the variable 'buf2' can be reduced.
[third_party\mongoose\mongoose.cpp:1086]: (style) The scope of the variable 'wpath' can be reduced.
[third_party\mongoose\mongoose.cpp:1087]: (style) The scope of the variable 'attrs' can be reduced.
[third_party\mongoose\mongoose.cpp:1832]: (style) The scope of the variable 't' can be reduced.
[third_party\mongoose\mongoose.cpp:3578]: (style) The scope of the variable 'acl_subnet' can be reduced.
[third_party\mongoose\mongoose.cpp:184]: (style) struct or union member 'timespec::tv_nsec' is never used.
[third_party\mongoose\mongoose.cpp:871]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose.cpp:889]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose.cpp:1074]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose.cpp:1159]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose_orig.c:512]: (style) The scope of the variable 'fp' can be reduced.
[third_party\mongoose\mongoose_orig.c:794]: (style) The scope of the variable 'buf' can be reduced.
[third_party\mongoose\mongoose_orig.c:796]: (style) The scope of the variable 'len' can be reduced.
[third_party\mongoose\mongoose_orig.c:1245]: (style) The scope of the variable 'interp' can be reduced.
[third_party\mongoose\mongoose_orig.c:1302]: (style) The scope of the variable 'k' can be reduced.
[third_party\mongoose\mongoose_orig.c:1351]: (style) The scope of the variable 'n' can be reduced.
[third_party\mongoose\mongoose_orig.c:1351]: (style) The scope of the variable 'buffered_len' can be reduced.
[third_party\mongoose\mongoose_orig.c:1352]: (style) The scope of the variable 'buffered' can be reduced.
[third_party\mongoose\mongoose_orig.c:1642]: (style) The scope of the variable 'days_before_month' can be reduced.
[third_party\mongoose\mongoose_orig.c:1646]: (style) The scope of the variable 'leap_days' can be reduced.
[third_party\mongoose\mongoose_orig.c:1646]: (style) The scope of the variable 'days' can be reduced.
[third_party\mongoose\mongoose_orig.c:2029]: (style) The scope of the variable 'e' can be reduced.
[third_party\mongoose\mongoose_orig.c:2063]: (style) The scope of the variable 'name' can be reduced.
[third_party\mongoose\mongoose_orig.c:2364]: (style) The scope of the variable 'path' can be reduced.
[third_party\mongoose\mongoose_orig.c:2477]: (style) The scope of the variable 'to_read' can be reduced.
[third_party\mongoose\mongoose_orig.c:2477]: (style) The scope of the variable 'num_read' can be reduced.
[third_party\mongoose\mongoose_orig.c:2477]: (style) The scope of the variable 'num_written' can be reduced.
[third_party\mongoose\mongoose_orig.c:2631]: (style) The scope of the variable 'n' can be reduced.
[third_party\mongoose\mongoose_orig.c:2703]: (style) The scope of the variable 'buffered' can be reduced.
[third_party\mongoose\mongoose_orig.c:2704]: (style) The scope of the variable 'buf' can be reduced.
[third_party\mongoose\mongoose_orig.c:2705]: (style) The scope of the variable 'to_read' can be reduced.
[third_party\mongoose\mongoose_orig.c:2705]: (style) The scope of the variable 'nread' can be reduced.
[third_party\mongoose\mongoose_orig.c:2705]: (style) The scope of the variable 'buffered_len' can be reduced.
[third_party\mongoose\mongoose_orig.c:2810]: (style) The scope of the variable 'p' can be reduced.
[third_party\mongoose\mongoose_orig.c:3026]: (style) The scope of the variable 'len' can be reduced.
[third_party\mongoose\mongoose_orig.c:3055]: (style) The scope of the variable 'range' can be reduced.
[third_party\mongoose\mongoose_orig.c:3090]: (style) The scope of the variable 'p' can be reduced.
[third_party\mongoose\mongoose_orig.c:3092]: (style) The scope of the variable 'is_ssi' can be reduced.
[third_party\mongoose\mongoose_orig.c:3423]: (style) The scope of the variable 'sock' can be reduced.
[third_party\mongoose\mongoose_orig.c:3586]: (style) The scope of the variable 'pw' can be reduced.
[third_party\mongoose\mongoose_orig.c:3730]: (style) The scope of the variable 'i' can be reduced.
[third_party\mongoose\mongoose_orig.c:3848]: (style) The scope of the variable 'is_ssl' can be reduced.
[third_party\mongoose\mongoose_orig.c:4053]: (style) The scope of the variable 'allowed' can be reduced.
[third_party\mongoose\mongoose_orig.c:4178]: (style) The scope of the variable 'value' can be reduced.
[third_party\mongoose\mongoose_orig.c:4178]: (style) The scope of the variable 'default_value' can be reduced.
[third_party\mongoose\mongoose_orig.c:3812]: (style) Variable 'buffered' is assigned a value that is never used.
[third_party\mongoose\mongoose_orig.c:1247]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose_orig.c:3613]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose_orig.c:3614]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose_orig.c:2136]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose_orig.c:2243]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose_orig.c:3099]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose_orig.c:3103]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose_orig.c:3107]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose_orig.c:3140]: (warning) scanf without field width limits can crash with huge input data.
[third_party\mongoose\mongoose_orig.c:890]: (style) The scope of the variable 'buf2' can be reduced.
[third_party\mongoose\mongoose_orig.c:1042]: (style) The scope of the variable 'wpath' can be reduced.
[third_party\mongoose\mongoose_orig.c:1043]: (style) The scope of the variable 'attrs' can be reduced.
[third_party\mongoose\mongoose_orig.c:1132]: (style) The scope of the variable 'p' can be reduced.
[third_party\mongoose\mongoose_orig.c:1133]: (style) The scope of the variable 'fp' can be reduced.
[third_party\mongoose\mongoose_orig.c:1788]: (style) The scope of the variable 't' can be reduced.
[third_party\mongoose\mongoose_orig.c:3534]: (style) The scope of the variable 'acl_subnet' can be reduced.
[third_party\mongoose\mongoose_orig.c:140]: (style) struct or union member 'timespec::tv_nsec' is never used.
[third_party\mongoose\mongoose_orig.c:827]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose_orig.c:845]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose_orig.c:1030]: (warning) Assignment of function parameter has no effect outside the function.
[third_party\mongoose\mongoose_orig.c:1115]: (warning) Assignment of function parameter has no effect outside the function.
[tools\atlas\AtlasObject\AtlasObjectText.cpp:22]: (performance) Function parameter 'obj' should be passed by reference.
[tools\atlas\AtlasScript\ScriptInterface.cpp:706]: (style) Variable 'obj' is assigned a value that is never used.
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\EditableListCtrl.cpp:51]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\EditableListCtrl.cpp:91]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\FieldEditCtrl.cpp:46]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\FieldEditCtrl.cpp:54]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\FieldEditCtrl.cpp:97]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\FieldEditCtrl.cpp:115]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\FieldEditCtrl.cpp:150]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\ListCtrlValidator.cpp:30]: (warning) Member variable 'ListCtrlValidator::m_Row' is not initialized in the constructor.
[tools\atlas\AtlasUI\CustomControls\EditableListCtrl\ListCtrlValidator.cpp:30]: (warning) Member variable 'ListCtrlValidator::m_Col' is not initialized in the constructor.
[tools\atlas\AtlasUI\CustomControls\SnapSplitterWindow\SnapSplitterWindow.cpp:27]: (warning) Member variable 'SnapSplitterWindow::m_DefaultSashPosition' is not initialized in the constructor.
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.h:352]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:199]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:290]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:291]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:367]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:380]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:414]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:457]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:469]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:481]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:520]: (style) C-style pointer casting
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:88]: (style) The scope of the variable 'start' can be reduced.
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:194]: (style) The scope of the variable 'b' can be reduced.
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:257]: (style) The scope of the variable 'item' can be reduced.
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:319]: (style) The scope of the variable 'a' can be reduced.
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:319]: (style) The scope of the variable 'b' can be reduced.
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:352]: (style) The scope of the variable 't' can be reduced.
[tools\atlas\AtlasUI\CustomControls\VirtualDirTreeCtrl\virtualdirtreectrl.cpp:393]: (style) The scope of the variable 'ptr' can be reduced.
[tools\atlas\AtlasUI\General\VideoRecorder\VideoRecorder.cpp:186]: (style) C-style pointer casting
[tools\atlas\AtlasUI\ScenarioEditor\SectionLayout.cpp:252]: (warning) Member variable 'SectionLayout::m_SidebarBook' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\SectionLayout.cpp:252]: (warning) Member variable 'SectionLayout::m_Canvas' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\SectionLayout.cpp:252]: (warning) Member variable 'SectionLayout::m_HorizSplitter' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\SectionLayout.cpp:252]: (warning) Member variable 'SectionLayout::m_VertSplitter' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\SectionLayout.cpp:261]: (warning) Possible leak in public function. The pointer 'm_HorizSplitter' is not deallocated before it is allocated.
[tools\atlas\AtlasUI\ScenarioEditor\SectionLayout.h:59]: (style) Class 'SectionLayout' is unsafe, 'SectionLayout::m_HorizSplitter' can leak by wrong usage.
[tools\atlas\AtlasUI\ScenarioEditor\SectionLayout.h:60]: (style) Class 'SectionLayout' is unsafe, 'SectionLayout::m_VertSplitter' can leak by wrong usage.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Cinematic\Cinematic.cpp:219]: (style) The scope of the variable 'j' can be reduced.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Cinematic\Cinematic.cpp:371]: (warning) Member variable 'CinematicBottomBar::m_Name' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Cinematic\Cinematic.cpp:371]: (warning) Member variable 'CinematicBottomBar::m_TimeText' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Environment\LightControl.cpp:30]: (warning) Member variable 'LightSphere::theta' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Environment\LightControl.cpp:30]: (warning) Member variable 'LightSphere::phi' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Terrain\Terrain.cpp:323]: (warning) Member variable 'TextureNotebookPage::m_LastTerrainSelection' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_ParameterSizer' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_DependentSizer' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_TimeEdit' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_ConditionEdit' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_EffectEdit' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_TriggerEdit' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_RunsEdit' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_ActiveCheck' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_NotCheck' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_LogicNotCheck' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_ConditionChoice' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_EffectChoice' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_LogicRadio' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Sections\Trigger\Trigger.cpp:376]: (warning) Member variable 'TriggerBottomBar::m_TimeRadio' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\ActorViewerTool.cpp:47]: (warning) Member variable 'ActorViewerTool::m_LastX' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\ActorViewerTool.cpp:47]: (warning) Member variable 'ActorViewerTool::m_LastY' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\AlterElevation.cpp:35]: (warning) Member variable 'AlterElevation::m_Direction' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\PlaceObject.cpp:40]: (warning) Member variable 'PlaceObject::m_ActorSeed' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\SmoothElevation.cpp:36]: (warning) Member variable 'SmoothElevation::m_Direction' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\TransformObject.cpp:43]: (warning) Member variable 'TransformObject::m_dx' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\TransformObject.cpp:43]: (warning) Member variable 'TransformObject::m_dy' is not initialized in the constructor.
[tools\atlas\AtlasUI\ScenarioEditor\Tools\Common\Tools.h:43]: (style) 'class ToolManager' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[tools\atlas\GameInterface\MessagesSetup.h:33]: (error) Invalid number of character ({) when these macros are defined: ''.
[tools\atlas\GameInterface\MessagesSetup.h:33]: (error) Invalid number of character ({) when these macros are defined: 'MESSAGES_SKIP_STRUCTS'.
[tools\atlas\GameInterface\MessagesSetup.h:33]: (error) Invalid number of character ({) when these macros are defined: '_MSC_VER'.
[tools\atlas\GameInterface\MessagesSetup.h:33]: (error) Invalid number of character ({) when these macros are defined: 'CONFIG2_GLES'.
[tools\atlas\GameInterface\MessagesSetup.h:33]: (error) Invalid number of character ({) when these macros are defined: 'OS_MACOSX'.
[tools\atlas\GameInterface\MessagesSetup.h:33]: (error) Invalid number of character ({) when these macros are defined: 'OS_WIN'.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::CurrentSpeed' is not initialized in the constructor.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::WalkEnabled' is not initialized in the constructor.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::GroundEnabled' is not initialized in the constructor.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::WaterEnabled' is not initialized in the constructor.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::ShadowsEnabled' is not initialized in the constructor.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::SelectionBoxEnabled' is not initialized in the constructor.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::AxesMarkerEnabled' is not initialized in the constructor.
[tools\atlas\GameInterface\ActorViewer.cpp:64]: (warning) Member variable 'ActorViewerImpl::PropPointsMode' is not initialized in the constructor.
[tools\atlas\GameInterface\GameLoop.cpp:114]: (style) C-style pointer casting
[tools\atlas\GameInterface\GameLoop.h:29]: (warning) Member variable 'GameLoopState::view' is not initialized in the constructor.
[tools\atlas\GameInterface\GameLoop.h:29]: (warning) Member variable 'GameLoopState::glCanvas' is not initialized in the constructor.
[tools\atlas\GameInterface\GameLoop.h:29]: (warning) Member variable 'GameLoopState::realFrameLength' is not initialized in the constructor.
[tools\atlas\GameInterface\GameLoop.h:29]: (warning) Member variable 'GameLoopState::input' is not initialized in the constructor.
[tools\atlas\GameInterface\MessagePasserImpl.cpp:169]: (style) Variable 'err' is assigned a value that is never used.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:106]: (warning) Member variable 'cAlterElevation::m_i0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:106]: (warning) Member variable 'cAlterElevation::m_j0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:106]: (warning) Member variable 'cAlterElevation::m_i1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:106]: (warning) Member variable 'cAlterElevation::m_j1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:188]: (warning) Member variable 'cSmoothElevation::m_i0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:188]: (warning) Member variable 'cSmoothElevation::m_j0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:188]: (warning) Member variable 'cSmoothElevation::m_i1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:188]: (warning) Member variable 'cSmoothElevation::m_j1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:300]: (warning) Member variable 'cFlattenElevation::m_i0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:300]: (warning) Member variable 'cFlattenElevation::m_j0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:300]: (warning) Member variable 'cFlattenElevation::m_i1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\ElevationHandlers.cpp:300]: (warning) Member variable 'cFlattenElevation::m_j1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\MapHandlers.cpp:298]: (warning) Member variable 'cResizeMap::m_OldTiles' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\MapHandlers.cpp:298]: (warning) Member variable 'cResizeMap::m_NewTiles' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\MapHandlers.cpp:106]: (style) Exception should be caught by reference.
[tools\atlas\GameInterface\Handlers\MiscHandlers.cpp:43]: (style) C-style pointer casting
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:275]: (warning) Member variable 'cPaintTerrain::m_i0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:275]: (warning) Member variable 'cPaintTerrain::m_j0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:275]: (warning) Member variable 'cPaintTerrain::m_i1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:275]: (warning) Member variable 'cPaintTerrain::m_j1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:364]: (warning) Member variable 'cReplaceTerrain::m_i0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:364]: (warning) Member variable 'cReplaceTerrain::m_j0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:364]: (warning) Member variable 'cReplaceTerrain::m_i1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:364]: (warning) Member variable 'cReplaceTerrain::m_j1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:443]: (warning) Member variable 'cFillTerrain::m_i0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:443]: (warning) Member variable 'cFillTerrain::m_j0' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:443]: (warning) Member variable 'cFillTerrain::m_i1' is not initialized in the constructor.
[tools\atlas\GameInterface\Handlers\TerrainHandlers.cpp:443]: (warning) Member variable 'cFillTerrain::m_j1' is not initialized in the constructor.
[tools\autobuild2\startupservice\startupservice\startupserviceWinService.cpp:24]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[tools\autobuild2\startupservice\startupservice\startupserviceWinService.cpp:25]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.

Link to comment
Share on other sites

OK, I got rid of most of the warnings in the sound code. No real issues there but it is better to initialize all variables I guess. I left in the two issues with ogg.cpp. THe code there is fin if the macros are unrolled. I guess the analyzer isn't running through the preprocessor.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...