2025-11-21 13:04 ftp://ftp.de.debian.org/debian/pool/main/g/gl-117/gl-117_1.3.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opengl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 1177 1161 elapsed-time: 31.9 37.3 head-timing-info: old-timing-info: head results: gl-117-1.3.2/src/audio.cpp:98:11: warning:inconclusive: Member variable 'WaveFile::volume' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:109:11: warning: Member variable 'WaveFile::volume' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::volumesound' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::volumemusic' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::engine' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::waveexplosion1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::waveclick1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::wavecannon1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::wavemissile1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::wavethunder1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::waveplane' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::wavehit1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::wavebeep1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::wavechaff1' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:203:14: warning: Member variable 'SoundSystem::wavebeep2' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/audio.cpp:124:16: performance:inconclusive: Technically the member function 'WaveFile::load' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/audio.h:48:8: note: Technically the member function 'WaveFile::load' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:124:16: note: Technically the member function 'WaveFile::load' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:149:16: performance:inconclusive: Technically the member function 'WaveFile::play' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/audio.h:49:8: note: Technically the member function 'WaveFile::play' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:149:16: note: Technically the member function 'WaveFile::play' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:167:16: performance:inconclusive: Technically the member function 'WaveFile::stop' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/audio.h:50:8: note: Technically the member function 'WaveFile::stop' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:167:16: note: Technically the member function 'WaveFile::stop' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:180:16: performance:inconclusive: Technically the member function 'WaveFile::setVolume' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/audio.h:51:8: note: Technically the member function 'WaveFile::setVolume' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:180:16: note: Technically the member function 'WaveFile::setVolume' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/audio.cpp:536:19: style:inconclusive: Technically the member function 'SoundSystem::setPosition' can be const. [functionConst] gl-117-1.3.2/src/audio.h:91:8: note: Technically the member function 'SoundSystem::setPosition' can be const. gl-117-1.3.2/src/audio.cpp:536:19: note: Technically the member function 'SoundSystem::setPosition' can be const. gl-117-1.3.2/src/audio.cpp:587:19: style:inconclusive: Technically the member function 'SoundSystem::stopAll' can be const. [functionConst] gl-117-1.3.2/src/audio.h:93:8: note: Technically the member function 'SoundSystem::stopAll' can be const. gl-117-1.3.2/src/audio.cpp:587:19: note: Technically the member function 'SoundSystem::stopAll' can be const. gl-117-1.3.2/src/audio.cpp:399:19: style:inconclusive: Technically the member function 'SoundSystem::playMusic' can be const. [functionConst] gl-117-1.3.2/src/audio.h:94:8: note: Technically the member function 'SoundSystem::playMusic' can be const. gl-117-1.3.2/src/audio.cpp:399:19: note: Technically the member function 'SoundSystem::playMusic' can be const. gl-117-1.3.2/src/audio.cpp:411:19: style:inconclusive: Technically the member function 'SoundSystem::playMusic' can be const. [functionConst] gl-117-1.3.2/src/audio.h:95:8: note: Technically the member function 'SoundSystem::playMusic' can be const. gl-117-1.3.2/src/audio.cpp:411:19: note: Technically the member function 'SoundSystem::playMusic' can be const. gl-117-1.3.2/src/audio.cpp:433:19: style:inconclusive: Technically the member function 'SoundSystem::loadMusic' can be const. [functionConst] gl-117-1.3.2/src/audio.h:96:8: note: Technically the member function 'SoundSystem::loadMusic' can be const. gl-117-1.3.2/src/audio.cpp:433:19: note: Technically the member function 'SoundSystem::loadMusic' can be const. gl-117-1.3.2/src/audio.cpp:423:19: style:inconclusive: Technically the member function 'SoundSystem::haltMusic' can be const. [functionConst] gl-117-1.3.2/src/audio.h:97:8: note: Technically the member function 'SoundSystem::haltMusic' can be const. gl-117-1.3.2/src/audio.cpp:423:19: note: Technically the member function 'SoundSystem::haltMusic' can be const. gl-117-1.3.2/src/audio.cpp:527:19: style:inconclusive: Technically the member function 'SoundSystem::setVolumeMusic' can be const. [functionConst] gl-117-1.3.2/src/audio.h:100:8: note: Technically the member function 'SoundSystem::setVolumeMusic' can be const. gl-117-1.3.2/src/audio.cpp:527:19: note: Technically the member function 'SoundSystem::setVolumeMusic' can be const. gl-117-1.3.2/src/audio.cpp:340:10: warning: Class 'SoundSystem' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/audio.cpp:340:10: warning: Class 'SoundSystem' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/audio.h:46:3: style: Class 'WaveFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/dirs.h:39:3: style: Class 'Dirs' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/audio.cpp:85:17: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/audio.cpp:149:26: style:inconclusive: Function 'play' argument 1 names different: declaration 'channel' definition 'chan'. [funcArgNamesDifferent] gl-117-1.3.2/src/audio.h:49:18: note: Function 'play' argument 1 names different: declaration 'channel' definition 'chan'. gl-117-1.3.2/src/audio.cpp:149:26: note: Function 'play' argument 1 names different: declaration 'channel' definition 'chan'. gl-117-1.3.2/src/audio.cpp:433:34: style:inconclusive: Function 'loadMusic' argument 1 names different: declaration 'music' definition 'sample'. [funcArgNamesDifferent] gl-117-1.3.2/src/audio.h:96:23: note: Function 'loadMusic' argument 1 names different: declaration 'music' definition 'sample'. gl-117-1.3.2/src/audio.cpp:433:34: note: Function 'loadMusic' argument 1 names different: declaration 'music' definition 'sample'. gl-117-1.3.2/src/audio.cpp:109:27: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/audio.cpp:124:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/common.cpp:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/common.cpp:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_KEY_F1 [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:358:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STRIP [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:395:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:435:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:571:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:599:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:624:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:712:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/cockpit.cpp:751:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/common.cpp:111:27: style:inconclusive: Function 'joystick2string' argument 1 names different: declaration 'key' definition 'button'. [funcArgNamesDifferent] gl-117-1.3.2/src/common.h:242:34: note: Function 'joystick2string' argument 1 names different: declaration 'key' definition 'button'. gl-117-1.3.2/src/common.cpp:111:27: note: Function 'joystick2string' argument 1 names different: declaration 'key' definition 'button'. gl-117-1.3.2/src/common.cpp:13:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/3ds.cpp:155:15: style: Array index 'filepointer' is used before limits check. [arrayIndexThenCheck] gl-117-1.3.2/src/3ds.cpp:516:3: portability: Using memset() on class which contains a floating point number. [memsetClassFloat] gl-117-1.3.2/src/3ds.cpp:40:13: warning: Member variable 'BinaryFile::ret' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/3ds.cpp:180:11: warning: Member variable 'CLoad3DS::file' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/3ds.cpp:180:11: warning: Member variable 'CLoad3DS::filepointer' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/3ds.cpp:565:16: performance:inconclusive: Technically the member function 'CLoad3DS::Compile' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/3ds.h:127:8: note: Technically the member function 'CLoad3DS::Compile' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:565:16: note: Technically the member function 'CLoad3DS::Compile' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:614:16: performance:inconclusive: Technically the member function 'CLoad3DS::ComputeNormals' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/3ds.h:128:8: note: Technically the member function 'CLoad3DS::ComputeNormals' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:614:16: note: Technically the member function 'CLoad3DS::ComputeNormals' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:672:16: performance:inconclusive: Technically the member function 'CLoad3DS::ComputeColors' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/3ds.h:129:8: note: Technically the member function 'CLoad3DS::ComputeColors' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:672:16: note: Technically the member function 'CLoad3DS::ComputeColors' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:644:16: performance:inconclusive: Technically the member function 'CLoad3DS::LoadTextures' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/3ds.h:130:8: note: Technically the member function 'CLoad3DS::LoadTextures' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:644:16: note: Technically the member function 'CLoad3DS::LoadTextures' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:719:16: performance:inconclusive: Technically the member function 'CLoad3DS::Normalize' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/3ds.h:131:8: note: Technically the member function 'CLoad3DS::Normalize' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:719:16: note: Technically the member function 'CLoad3DS::Normalize' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/3ds.cpp:43:3: warning: Class 'BinaryFile' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/3ds.cpp:43:3: warning: Class 'BinaryFile' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/3ds.cpp:182:3: warning: Class 'CLoad3DS' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/3ds.cpp:182:3: warning: Class 'CLoad3DS' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/3ds.cpp:182:3: warning: Class 'CLoad3DS' does not have a destructor which is recommended since it has dynamic memory/resource management. [noDestructor] gl-117-1.3.2/src/vertexarray.h:59:3: style: Class 'VertexArray' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/model.h:44:3: style: Class 'CColor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/model.h:87:3: style: Class 'CVector3' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/model.h:122:3: style: Class 'CVertex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/3ds.h:42:3: style: Class 'BinaryFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/3ds.cpp:55:11: warning: Either the condition 'data==NULL' is redundant or there is possible null pointer dereference: data. [nullPointerRedundantCheck] gl-117-1.3.2/src/3ds.cpp:54:12: note: Assuming that condition 'data==NULL' is not redundant gl-117-1.3.2/src/3ds.cpp:55:11: note: Null pointer dereference gl-117-1.3.2/src/3ds.cpp:432:45: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/3ds.cpp:439:49: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/3ds.cpp:461:48: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/3ds.cpp:497:49: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/3ds.cpp:512:49: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/3ds.cpp:85:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/3ds.cpp:111:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/3ds.cpp:125:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/3ds.cpp:502:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/3ds.cpp:521:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/3ds.cpp:85:10: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] gl-117-1.3.2/src/3ds.cpp:42:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/3ds.cpp:191:8: style: The scope of the variable 'message' can be reduced. [variableScope] gl-117-1.3.2/src/3ds.cpp:690:13: style: The scope of the variable 'val' can be reduced. [variableScope] gl-117-1.3.2/src/3ds.cpp:618:25: style: Checking if unsigned expression 'model->numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/3ds.cpp:676:25: style: Checking if unsigned expression 'model->numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/3ds.cpp:40:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/conf.cpp:268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/conf.cpp:527:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_MIDDLE_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/conf.cpp:677:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_MIDDLE_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/3ds.cpp:61:8: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/3ds.cpp:63:8: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/dirs.cpp:114:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/dirs.cpp:69:7: warning: Member variable 'Dirs::dir' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/dirs.cpp:54:12: performance:inconclusive: Technically the member function 'Dirs::append' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/dirs.h:38:8: note: Technically the member function 'Dirs::append' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/dirs.cpp:54:12: note: Technically the member function 'Dirs::append' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/dirs.cpp:39:43: style: Parameter 'tok' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:54:40: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:69:19: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:107:9: style: Variable 'home' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/dirs.cpp:108:9: style: Variable 'env' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/dirs.cpp:239:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:246:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:253:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:260:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:267:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/dirs.cpp:274:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:69:13: warning:inconclusive: Member variable 'ConfigFile::buf' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/conf.cpp:69:13: warning:inconclusive: Member variable 'ConfigFile::length' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/conf.cpp:69:13: warning:inconclusive: Member variable 'ConfigFile::out' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/conf.cpp:71:13: warning: Member variable 'ConfigFile::out' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/conf.cpp:98:19: performance:inconclusive: Technically the member function 'ConfigFile::skipwhite' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/conf.h:54:9: note: Technically the member function 'ConfigFile::skipwhite' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/conf.cpp:98:19: note: Technically the member function 'ConfigFile::skipwhite' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/conf.cpp:105:19: performance:inconclusive: Technically the member function 'ConfigFile::skipnum' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/conf.h:55:9: note: Technically the member function 'ConfigFile::skipnum' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/conf.cpp:105:19: note: Technically the member function 'ConfigFile::skipnum' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/conf.cpp:112:19: performance:inconclusive: Technically the member function 'ConfigFile::skipalphanum' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/conf.h:56:9: note: Technically the member function 'ConfigFile::skipalphanum' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/conf.cpp:112:19: note: Technically the member function 'ConfigFile::skipalphanum' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/conf.h:53:3: style: Class 'ConfigFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/conf.cpp:153:11: style: Condition 'res==NULL' is always false [knownConditionTrueFalse] gl-117-1.3.2/src/conf.cpp:73:8: style: The scope of the variable 'buf2' can be reduced. [variableScope] gl-117-1.3.2/src/conf.cpp:71:31: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:119:48: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:121:16: style: Variable 'stre' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/conf.cpp:157:35: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:164:30: style: Parameter 'str1' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:187:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:285:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/conf.cpp:427:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/conf.cpp:474:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:571:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/conf.cpp:587:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:137:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:187:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:373:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POINTS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:477:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:623:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:679:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/effects.cpp:834:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/fileloader.c:419:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] gl-117-1.3.2/src/fileloader.c:615:77: style: Assignment 'file_buffer[file_ptr]='\\'' is redundant with condition 'file_buffer[file_ptr]=='\\''. [duplicateConditionalAssign] gl-117-1.3.2/src/fileloader.c:615:45: note: Condition 'file_buffer[file_ptr]=='\\'' gl-117-1.3.2/src/fileloader.c:615:77: note: Assignment 'file_buffer[file_ptr]='\\'' is redundant gl-117-1.3.2/src/fileloader.c:136:32: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:146:31: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:158:29: style: Parameter 'startstring' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:158:48: style: Parameter 'endstring' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:172:28: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:397:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:416:24: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:465:22: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.c:467:9: style: Variable 'result' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/fileloader.c:536:13: style: Variable 'last' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/fileloader.c:537:11: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/fileloader.c:576:12: style: Variable 'last' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/fileloader.c:537:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/cockpit.cpp:39:10: warning: Member variable 'Cockpit::dt' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/cockpit.cpp:76:15: performance:inconclusive: Technically the member function 'Cockpit::cockpitvertex' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/cockpit.h:33:8: note: Technically the member function 'Cockpit::cockpitvertex' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:76:15: note: Technically the member function 'Cockpit::cockpitvertex' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:46:15: performance:inconclusive: Technically the member function 'Cockpit::drawBlip' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/cockpit.h:41:8: note: Technically the member function 'Cockpit::drawBlip' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:46:15: note: Technically the member function 'Cockpit::drawBlip' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:85:15: performance:inconclusive: Technically the member function 'Cockpit::setColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/cockpit.h:43:8: note: Technically the member function 'Cockpit::setColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:85:15: note: Technically the member function 'Cockpit::setColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:95:15: performance:inconclusive: Technically the member function 'Cockpit::setColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/cockpit.h:44:8: note: Technically the member function 'Cockpit::setColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:95:15: note: Technically the member function 'Cockpit::setColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:325:15: performance:inconclusive: Technically the member function 'Cockpit::drawTargeter' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/cockpit.h:46:8: note: Technically the member function 'Cockpit::drawTargeter' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:325:15: note: Technically the member function 'Cockpit::drawTargeter' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:561:15: performance:inconclusive: Technically the member function 'Cockpit::drawTargetedElement' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/cockpit.h:49:8: note: Technically the member function 'Cockpit::drawTargetedElement' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:561:15: note: Technically the member function 'Cockpit::drawTargetedElement' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:587:15: performance:inconclusive: Technically the member function 'Cockpit::drawWeapon' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/cockpit.h:50:8: note: Technically the member function 'Cockpit::drawWeapon' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/cockpit.cpp:587:15: note: Technically the member function 'Cockpit::drawWeapon' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/effects.h:44:3: style: Class 'CSmoke' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/effects.h:92:3: style: Class 'CBlackSmoke' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/effects.h:160:3: style: Class 'HighClouds' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/pilots.h:82:3: style: Class 'Pilot' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/pilots.h:96:3: style: Class 'PilotList' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/effects.h:77:12: style: The destructor '~CExplosion' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/object.h:51:12: note: Virtual destructor in base class gl-117-1.3.2/src/effects.h:77:12: note: Destructor in derived class gl-117-1.3.2/src/effects.h:93:12: style: The destructor '~CBlackSmoke' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/object.h:51:12: note: Virtual destructor in base class gl-117-1.3.2/src/effects.h:93:12: note: Destructor in derived class gl-117-1.3.2/src/effects.h:96:16: style: The function 'drawGL' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/object.h:58:16: note: Virtual function in base class gl-117-1.3.2/src/effects.h:96:16: note: Function in derived class gl-117-1.3.2/src/effects.h:161:12: style: The destructor '~HighClouds' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/object.h:51:12: note: Virtual destructor in base class gl-117-1.3.2/src/effects.h:161:12: note: Destructor in derived class gl-117-1.3.2/src/aiobject.h:230:4: style: The destructor '~AIObj' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/object.h:51:12: note: Virtual destructor in base class gl-117-1.3.2/src/aiobject.h:230:4: note: Destructor in derived class gl-117-1.3.2/src/mission.h:114:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:114:16: note: Function in derived class gl-117-1.3.2/src/mission.h:115:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:115:15: note: Function in derived class gl-117-1.3.2/src/mission.h:116:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:116:16: note: Function in derived class gl-117-1.3.2/src/mission.h:123:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:123:16: note: Function in derived class gl-117-1.3.2/src/mission.h:124:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:124:15: note: Function in derived class gl-117-1.3.2/src/mission.h:125:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:125:16: note: Function in derived class gl-117-1.3.2/src/mission.h:132:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:132:16: note: Function in derived class gl-117-1.3.2/src/mission.h:133:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:133:15: note: Function in derived class gl-117-1.3.2/src/mission.h:134:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:134:16: note: Function in derived class gl-117-1.3.2/src/mission.h:141:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:141:16: note: Function in derived class gl-117-1.3.2/src/mission.h:142:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:142:15: note: Function in derived class gl-117-1.3.2/src/mission.h:143:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:143:16: note: Function in derived class gl-117-1.3.2/src/mission.h:151:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:151:16: note: Function in derived class gl-117-1.3.2/src/mission.h:152:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:152:15: note: Function in derived class gl-117-1.3.2/src/mission.h:153:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:153:16: note: Function in derived class gl-117-1.3.2/src/mission.h:161:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:161:16: note: Function in derived class gl-117-1.3.2/src/mission.h:162:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:162:15: note: Function in derived class gl-117-1.3.2/src/mission.h:163:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:163:16: note: Function in derived class gl-117-1.3.2/src/mission.h:171:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:171:16: note: Function in derived class gl-117-1.3.2/src/mission.h:172:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:172:15: note: Function in derived class gl-117-1.3.2/src/mission.h:173:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:173:16: note: Function in derived class gl-117-1.3.2/src/mission.h:181:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:181:16: note: Function in derived class gl-117-1.3.2/src/mission.h:182:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:182:15: note: Function in derived class gl-117-1.3.2/src/mission.h:183:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:183:16: note: Function in derived class gl-117-1.3.2/src/mission.h:191:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:191:16: note: Function in derived class gl-117-1.3.2/src/mission.h:192:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:192:15: note: Function in derived class gl-117-1.3.2/src/mission.h:193:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:193:16: note: Function in derived class gl-117-1.3.2/src/mission.h:202:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:202:16: note: Function in derived class gl-117-1.3.2/src/mission.h:203:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:203:15: note: Function in derived class gl-117-1.3.2/src/mission.h:204:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:204:16: note: Function in derived class gl-117-1.3.2/src/mission.h:212:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:212:16: note: Function in derived class gl-117-1.3.2/src/mission.h:213:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:213:15: note: Function in derived class gl-117-1.3.2/src/mission.h:214:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:214:16: note: Function in derived class gl-117-1.3.2/src/mission.h:221:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:221:16: note: Function in derived class gl-117-1.3.2/src/mission.h:222:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:222:15: note: Function in derived class gl-117-1.3.2/src/mission.h:223:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:223:16: note: Function in derived class gl-117-1.3.2/src/mission.h:230:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:230:16: note: Function in derived class gl-117-1.3.2/src/mission.h:231:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:231:15: note: Function in derived class gl-117-1.3.2/src/mission.h:232:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:232:16: note: Function in derived class gl-117-1.3.2/src/mission.h:239:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:239:16: note: Function in derived class gl-117-1.3.2/src/mission.h:240:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:240:15: note: Function in derived class gl-117-1.3.2/src/mission.h:241:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:241:16: note: Function in derived class gl-117-1.3.2/src/mission.h:248:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:248:16: note: Function in derived class gl-117-1.3.2/src/mission.h:249:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:249:15: note: Function in derived class gl-117-1.3.2/src/mission.h:250:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:250:16: note: Function in derived class gl-117-1.3.2/src/mission.h:257:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:257:16: note: Function in derived class gl-117-1.3.2/src/mission.h:258:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:258:15: note: Function in derived class gl-117-1.3.2/src/mission.h:259:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:259:16: note: Function in derived class gl-117-1.3.2/src/mission.h:266:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:266:16: note: Function in derived class gl-117-1.3.2/src/mission.h:267:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:267:15: note: Function in derived class gl-117-1.3.2/src/mission.h:268:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:268:16: note: Function in derived class gl-117-1.3.2/src/mission.h:275:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:275:16: note: Function in derived class gl-117-1.3.2/src/mission.h:276:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:276:15: note: Function in derived class gl-117-1.3.2/src/mission.h:277:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:277:16: note: Function in derived class gl-117-1.3.2/src/mission.h:284:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:284:16: note: Function in derived class gl-117-1.3.2/src/mission.h:285:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:285:15: note: Function in derived class gl-117-1.3.2/src/mission.h:286:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:286:16: note: Function in derived class gl-117-1.3.2/src/mission.h:293:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:293:16: note: Function in derived class gl-117-1.3.2/src/mission.h:294:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:294:15: note: Function in derived class gl-117-1.3.2/src/mission.h:295:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:295:16: note: Function in derived class gl-117-1.3.2/src/mission.h:302:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:302:16: note: Function in derived class gl-117-1.3.2/src/mission.h:303:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:303:15: note: Function in derived class gl-117-1.3.2/src/mission.h:304:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:304:16: note: Function in derived class gl-117-1.3.2/src/mission.h:311:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:311:16: note: Function in derived class gl-117-1.3.2/src/mission.h:312:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:312:15: note: Function in derived class gl-117-1.3.2/src/mission.h:313:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:313:16: note: Function in derived class gl-117-1.3.2/src/mission.h:320:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:320:16: note: Function in derived class gl-117-1.3.2/src/mission.h:321:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:321:15: note: Function in derived class gl-117-1.3.2/src/mission.h:322:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:322:16: note: Function in derived class gl-117-1.3.2/src/mission.h:329:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:329:16: note: Function in derived class gl-117-1.3.2/src/mission.h:330:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:330:15: note: Function in derived class gl-117-1.3.2/src/mission.h:331:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:331:16: note: Function in derived class gl-117-1.3.2/src/mission.h:338:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:338:16: note: Function in derived class gl-117-1.3.2/src/mission.h:339:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:339:15: note: Function in derived class gl-117-1.3.2/src/mission.h:340:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:340:16: note: Function in derived class gl-117-1.3.2/src/mission.h:347:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:347:16: note: Function in derived class gl-117-1.3.2/src/mission.h:348:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:348:15: note: Function in derived class gl-117-1.3.2/src/mission.h:349:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:349:16: note: Function in derived class gl-117-1.3.2/src/mission.h:356:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:356:16: note: Function in derived class gl-117-1.3.2/src/mission.h:357:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:357:15: note: Function in derived class gl-117-1.3.2/src/mission.h:358:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:358:16: note: Function in derived class gl-117-1.3.2/src/mission.h:365:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:365:16: note: Function in derived class gl-117-1.3.2/src/mission.h:366:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:366:15: note: Function in derived class gl-117-1.3.2/src/mission.h:367:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:367:16: note: Function in derived class gl-117-1.3.2/src/mission.h:374:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:374:16: note: Function in derived class gl-117-1.3.2/src/mission.h:375:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:375:15: note: Function in derived class gl-117-1.3.2/src/mission.h:376:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:376:16: note: Function in derived class gl-117-1.3.2/src/mission.h:383:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:383:16: note: Function in derived class gl-117-1.3.2/src/mission.h:384:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:384:15: note: Function in derived class gl-117-1.3.2/src/mission.h:385:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:385:16: note: Function in derived class gl-117-1.3.2/src/mission.h:392:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:392:16: note: Function in derived class gl-117-1.3.2/src/mission.h:393:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:393:15: note: Function in derived class gl-117-1.3.2/src/mission.h:394:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:394:16: note: Function in derived class gl-117-1.3.2/src/mission.h:401:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:401:16: note: Function in derived class gl-117-1.3.2/src/mission.h:402:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:402:15: note: Function in derived class gl-117-1.3.2/src/mission.h:403:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:403:16: note: Function in derived class gl-117-1.3.2/src/mission.h:410:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:410:16: note: Function in derived class gl-117-1.3.2/src/mission.h:411:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:411:15: note: Function in derived class gl-117-1.3.2/src/mission.h:412:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:412:16: note: Function in derived class gl-117-1.3.2/src/mission.h:419:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:419:16: note: Function in derived class gl-117-1.3.2/src/mission.h:420:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:420:15: note: Function in derived class gl-117-1.3.2/src/mission.h:421:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:421:16: note: Function in derived class gl-117-1.3.2/src/mission.h:428:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:428:16: note: Function in derived class gl-117-1.3.2/src/mission.h:429:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:429:15: note: Function in derived class gl-117-1.3.2/src/mission.h:430:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:430:16: note: Function in derived class gl-117-1.3.2/src/mission.h:437:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:437:16: note: Function in derived class gl-117-1.3.2/src/mission.h:438:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:438:15: note: Function in derived class gl-117-1.3.2/src/mission.h:439:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:439:16: note: Function in derived class gl-117-1.3.2/src/mission.h:446:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:446:16: note: Function in derived class gl-117-1.3.2/src/mission.h:447:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:447:15: note: Function in derived class gl-117-1.3.2/src/mission.h:448:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:448:16: note: Function in derived class gl-117-1.3.2/src/mission.h:455:16: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:455:16: note: Function in derived class gl-117-1.3.2/src/mission.h:456:15: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/mission.h:456:15: note: Function in derived class gl-117-1.3.2/src/mission.h:457:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/mission.h:457:16: note: Function in derived class gl-117-1.3.2/src/cockpit.cpp:338:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/cockpit.cpp:578:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/cockpit.cpp:563:8: style: The scope of the variable 'str' can be reduced. [variableScope] gl-117-1.3.2/src/cockpit.cpp:526:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] gl-117-1.3.2/src/cockpit.cpp:518:9: note: Shadowed declaration gl-117-1.3.2/src/cockpit.cpp:526:11: note: Shadow variable gl-117-1.3.2/src/cockpit.cpp:540:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] gl-117-1.3.2/src/cockpit.cpp:518:9: note: Shadowed declaration gl-117-1.3.2/src/cockpit.cpp:540:11: note: Shadow variable gl-117-1.3.2/src/cockpit.cpp:600:11: style: Local variable 'missile' shadows outer variable [shadowVariable] gl-117-1.3.2/src/main.h:115:15: note: Shadowed declaration gl-117-1.3.2/src/cockpit.cpp:600:11: note: Shadow variable gl-117-1.3.2/src/cockpit.cpp:330:17: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/effects.cpp:162:8: warning: Member variable 'Flash::time' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/effects.cpp:388:12: style:inconclusive: Technically the member function 'Font::isPixel' can be const. [functionConst] gl-117-1.3.2/src/effects.h:129:8: note: Technically the member function 'Font::isPixel' can be const. gl-117-1.3.2/src/effects.cpp:388:12: note: Technically the member function 'Font::isPixel' can be const. gl-117-1.3.2/src/effects.cpp:620:12: style:inconclusive: Technically the member function 'Font::drawTextRotated' can be const. [functionConst] gl-117-1.3.2/src/effects.h:146:8: note: Technically the member function 'Font::drawTextRotated' can be const. gl-117-1.3.2/src/effects.cpp:620:12: note: Technically the member function 'Font::drawTextRotated' can be const. gl-117-1.3.2/src/cockpit.cpp:441:11: style: Variable 'g' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/effects.cpp:464:3: warning: Class 'Font' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/effects.cpp:464:3: warning: Class 'Font' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/effects.cpp:796:10: warning: Class 'HighClouds' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/effects.cpp:796:10: warning: Class 'HighClouds' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/fileloader.cpp:337:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] gl-117-1.3.2/src/fileloader.cpp:510:77: style: Assignment 'file_buffer[file_ptr]='\\'' is redundant with condition 'file_buffer[file_ptr]=='\\''. [duplicateConditionalAssign] gl-117-1.3.2/src/fileloader.cpp:510:45: note: Condition 'file_buffer[file_ptr]=='\\'' gl-117-1.3.2/src/fileloader.cpp:510:77: note: Assignment 'file_buffer[file_ptr]='\\'' is redundant gl-117-1.3.2/src/fileloader.cpp:179:8: style: The scope of the variable 'c' can be reduced. [variableScope] gl-117-1.3.2/src/fileloader.cpp:135:32: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:145:31: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:156:29: style: Parameter 'startstring' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:156:48: style: Parameter 'endstring' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:170:28: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:315:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:334:24: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:383:22: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/fileloader.cpp:385:9: style: Variable 'result' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/fileloader.cpp:443:13: style: Variable 'last' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/fileloader.cpp:482:12: style: Variable 'last' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/effects.cpp:400:7: style: Local variable 'mode' shadows outer variable [shadowVariable] gl-117-1.3.2/src/common.h:119:12: note: Shadowed declaration gl-117-1.3.2/src/effects.cpp:400:7: note: Shadow variable gl-117-1.3.2/src/effects.cpp:494:13: style: Local variable 'c' shadows outer argument [shadowArgument] gl-117-1.3.2/src/effects.cpp:474:68: note: Shadowed declaration gl-117-1.3.2/src/effects.cpp:494:13: note: Shadow variable gl-117-1.3.2/src/effects.cpp:520:11: style: Local variable 'c' shadows outer argument [shadowArgument] gl-117-1.3.2/src/effects.cpp:474:68: note: Shadowed declaration gl-117-1.3.2/src/effects.cpp:520:11: note: Shadow variable gl-117-1.3.2/src/effects.cpp:474:55: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:474:68: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:474:109: style: Parameter 'highlightcol' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:620:62: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:620:75: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:675:61: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:675:74: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:675:115: style: Parameter 'highlightcol' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:824:36: style: Parameter 'tl' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:824:50: style: Parameter 'textl' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/effects.cpp:858:14: style: Variable 'v' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/effects.cpp:878:14: style: Variable 'v' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/effects.cpp:405:18: style: Variable 'xe' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/effects.cpp:858:16: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/effects.cpp:878:16: style: Variable 'v' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/gl.cpp:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:76:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:90:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:100:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:110:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_SMOOTH [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:181:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_SMOOTH [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:196:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:203:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:216:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:224:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLAT [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:236:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SMOOTH [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:246:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FOG [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:272:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION_MATRIX [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/gl.cpp:37:5: warning: Member variable 'GL::akttex' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/gl.cpp:37:5: warning: Member variable 'GL::tex' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/gl.cpp:37:5: warning: Member variable 'GL::antialiasing' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/gl.cpp:37:5: warning: Member variable 'GL::frustum' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/gl.cpp:55:10: performance:inconclusive: Technically the member function 'GL::clearScreen' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/gl.h:48:8: note: Technically the member function 'GL::clearScreen' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:55:10: note: Technically the member function 'GL::clearScreen' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:60:10: performance:inconclusive: Technically the member function 'GL::drawScreen' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/gl.h:49:8: note: Technically the member function 'GL::drawScreen' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:60:10: note: Technically the member function 'GL::drawScreen' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:65:10: performance:inconclusive: Technically the member function 'GL::rotate' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/gl.h:50:8: note: Technically the member function 'GL::rotate' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:65:10: note: Technically the member function 'GL::rotate' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:82:10: performance:inconclusive: Technically the member function 'GL::setList' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/gl.h:52:8: note: Technically the member function 'GL::setList' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:82:10: note: Technically the member function 'GL::setList' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:93:9: performance:inconclusive: Technically the member function 'GL::genTexture' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/gl.h:54:7: note: Technically the member function 'GL::genTexture' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:93:9: note: Technically the member function 'GL::genTexture' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:163:11: style:inconclusive: Technically the member function 'GL::getTexLight' can be const. [functionConst] gl-117-1.3.2/src/gl.h:59:9: note: Technically the member function 'GL::getTexLight' can be const. gl-117-1.3.2/src/gl.cpp:163:11: note: Technically the member function 'GL::getTexLight' can be const. gl-117-1.3.2/src/gl.cpp:209:10: performance:inconclusive: Technically the member function 'GL::enableLighting' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/gl.h:65:8: note: Technically the member function 'GL::enableLighting' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:209:10: note: Technically the member function 'GL::enableLighting' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/gl.cpp:240:10: style:inconclusive: Technically the member function 'GL::enableFog' can be const. [functionConst] gl-117-1.3.2/src/gl.h:70:8: note: Technically the member function 'GL::enableFog' can be const. gl-117-1.3.2/src/gl.cpp:240:10: note: Technically the member function 'GL::enableFog' can be const. gl-117-1.3.2/src/gl.cpp:372:10: style:inconclusive: Technically the member function 'GL::isPointInFrustum' can be const. [functionConst] gl-117-1.3.2/src/gl.h:72:8: note: Technically the member function 'GL::isPointInFrustum' can be const. gl-117-1.3.2/src/gl.cpp:372:10: note: Technically the member function 'GL::isPointInFrustum' can be const. gl-117-1.3.2/src/gl.cpp:381:10: style:inconclusive: Technically the member function 'GL::isSphereInFrustum' can be const. [functionConst] gl-117-1.3.2/src/gl.h:73:8: note: Technically the member function 'GL::isSphereInFrustum' can be const. gl-117-1.3.2/src/gl.cpp:381:10: note: Technically the member function 'GL::isSphereInFrustum' can be const. gl-117-1.3.2/src/gl.cpp:390:10: style:inconclusive: Technically the member function 'GL::isCubeInFrustum' can be const. [functionConst] gl-117-1.3.2/src/gl.h:74:8: note: Technically the member function 'GL::isCubeInFrustum' can be const. gl-117-1.3.2/src/gl.cpp:390:10: note: Technically the member function 'GL::isCubeInFrustum' can be const. gl-117-1.3.2/src/gl.cpp:148:26: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/gl.cpp:131:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/gl.cpp:118:36: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/loader_tga.cpp:193:12: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/loader_tga.cpp:212:8: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/loader_tga.cpp:435:10: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/loader_tga.cpp:31:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/loader_tga.cpp:419:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/loader_tga.cpp:190:8: style: The scope of the variable 'y' can be reduced. [variableScope] gl-117-1.3.2/src/loader_tga.cpp:301:21: style: The scope of the variable 'curbyte' can be reduced. [variableScope] gl-117-1.3.2/src/loader_tga.cpp:101:45: style:inconclusive: Function 'tga_load' argument 2 names different: declaration 'im_w' definition 'w'. [funcArgNamesDifferent] gl-117-1.3.2/src/loader_tga.h:4:52: note: Function 'tga_load' argument 2 names different: declaration 'im_w' definition 'w'. gl-117-1.3.2/src/loader_tga.cpp:101:45: note: Function 'tga_load' argument 2 names different: declaration 'im_w' definition 'w'. gl-117-1.3.2/src/loader_tga.cpp:101:52: style:inconclusive: Function 'tga_load' argument 3 names different: declaration 'im_h' definition 'h'. [funcArgNamesDifferent] gl-117-1.3.2/src/loader_tga.h:4:62: note: Function 'tga_load' argument 3 names different: declaration 'im_h' definition 'h'. gl-117-1.3.2/src/loader_tga.cpp:101:52: note: Function 'tga_load' argument 3 names different: declaration 'im_h' definition 'h'. gl-117-1.3.2/src/loader_tga.cpp:104:16: style: Local variable 'bpp' shadows outer variable [shadowVariable] gl-117-1.3.2/src/common.h:94:27: note: Shadowed declaration gl-117-1.3.2/src/loader_tga.cpp:104:16: note: Shadow variable gl-117-1.3.2/src/loader_tga.cpp:302:15: style: Variable 'final_pixel' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/loader_tga.cpp:84:17: style: struct member 'tga_footer::extensionAreaOffset' is never used. [unusedStructMember] gl-117-1.3.2/src/loader_tga.cpp:85:17: style: struct member 'tga_footer::developerDirectoryOffset' is never used. [unusedStructMember] gl-117-1.3.2/src/loader_tga.cpp:87:9: style: struct member 'tga_footer::dot' is never used. [unusedStructMember] gl-117-1.3.2/src/loader_tga.cpp:88:9: style: struct member 'tga_footer::null' is never used. [unusedStructMember] gl-117-1.3.2/src/loader_tga.cpp:179:7: style: Variable 'im_w' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/loader_tga.cpp:196:12: style: Variable 'im_w' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/loader_tga.cpp:215:12: style: Variable 'im_w' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/glland.cpp:876:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/glland.cpp:1672:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/glland.cpp:2342:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:335:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:356:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:931:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHT_MODEL_TWO_SIDE [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:974:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:994:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:1011:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:1028:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:1807:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_ELAPSED_TIME [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:1842:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUAD_STRIP [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:1868:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUAD_STRIP [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:1902:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUAD_STRIP [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:1954:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2134:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_DOWN [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2235:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2353:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_DOWN [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2365:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2407:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_DOWN [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2419:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2477:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2643:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_DOWN [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2807:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2864:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:2934:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:3094:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DITHER [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:3999:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_ELAPSED_TIME [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:4287:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:4568:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:4628:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_ELAPSED_TIME [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:4648:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:4791:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_ELAPSED_TIME [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5405:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_GAME_MODE_POSSIBLE [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5526:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5583:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_DEPTH [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5849:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5864:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5896:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5910:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_RIGHT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:5977:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6012:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6170:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6191:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6223:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6276:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6352:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:6371:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_LEFT_BUTTON [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/main.cpp:7454:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_DEPTH [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/aiobject.cpp:1626:16: warning: Either the condition 'id>=missiletypes' is redundant or the array 'missiles[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] gl-117-1.3.2/src/aiobject.cpp:1621:20: note: Assuming that condition 'id>=missiletypes' is not redundant gl-117-1.3.2/src/aiobject.cpp:1626:16: note: Array index out of bounds gl-117-1.3.2/src/aiobject.cpp:1626:16: warning: Either the condition 'id<0' is redundant or the array 'missiles[8]' is accessed at index -1, which is out of bounds. [negativeIndex] gl-117-1.3.2/src/aiobject.cpp:1621:10: note: Assuming that condition 'id<0' is not redundant gl-117-1.3.2/src/aiobject.cpp:1626:16: note: Negative array index gl-117-1.3.2/src/aiobject.cpp:1648:12: warning: Either the condition 'id>=missiletypes' is redundant or the array 'missiles[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] gl-117-1.3.2/src/aiobject.cpp:1643:20: note: Assuming that condition 'id>=missiletypes' is not redundant gl-117-1.3.2/src/aiobject.cpp:1648:12: note: Array index out of bounds gl-117-1.3.2/src/aiobject.cpp:1648:12: warning: Either the condition 'id<0' is redundant or the array 'missiles[8]' is accessed at index -1, which is out of bounds. [negativeIndex] gl-117-1.3.2/src/aiobject.cpp:1643:10: note: Assuming that condition 'id<0' is not redundant gl-117-1.3.2/src/aiobject.cpp:1648:12: note: Negative array index gl-117-1.3.2/src/aiobject.cpp:42:21: error: Buffer is accessed out of bounds: &phi [bufferAccessOutOfBounds] gl-117-1.3.2/src/aiobject.cpp:44:21: error: Buffer is accessed out of bounds: &theta [bufferAccessOutOfBounds] gl-117-1.3.2/src/aiobject.cpp:46:21: error: Buffer is accessed out of bounds: &gamma [bufferAccessOutOfBounds] gl-117-1.3.2/src/aiobject.cpp:61:11: error: Buffer is accessed out of bounds: &phi [bufferAccessOutOfBounds] gl-117-1.3.2/src/aiobject.cpp:63:11: error: Buffer is accessed out of bounds: &theta [bufferAccessOutOfBounds] gl-117-1.3.2/src/aiobject.cpp:65:11: error: Buffer is accessed out of bounds: &gamma [bufferAccessOutOfBounds] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::active' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::realspeed' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::recelevatoreffect' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::recruddereffect' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::recrolleffect' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::space' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::bomber' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:119:13: warning: Member variable 'DynamicObj::net' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:1386:8: warning: Member variable 'AIObj::disttarget' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:1386:8: warning: Member variable 'AIObj::chaffs' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:1386:8: warning: Member variable 'AIObj::statfirepower' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/aiobject.cpp:145:19: style:inconclusive: Technically the member function 'DynamicObj::distance' can be const. [functionConst] gl-117-1.3.2/src/aiobject.h:161:9: note: Technically the member function 'DynamicObj::distance' can be const. gl-117-1.3.2/src/aiobject.cpp:145:19: note: Technically the member function 'DynamicObj::distance' can be const. gl-117-1.3.2/src/aiobject.cpp:153:19: style:inconclusive: Technically the member function 'DynamicObj::distanceXZ' can be const. [functionConst] gl-117-1.3.2/src/aiobject.h:162:9: note: Technically the member function 'DynamicObj::distanceXZ' can be const. gl-117-1.3.2/src/aiobject.cpp:153:19: note: Technically the member function 'DynamicObj::distanceXZ' can be const. gl-117-1.3.2/src/aiobject.cpp:363:18: style:inconclusive: Technically the member function 'DynamicObj::setExplosion' can be const. [functionConst] gl-117-1.3.2/src/aiobject.h:172:8: note: Technically the member function 'DynamicObj::setExplosion' can be const. gl-117-1.3.2/src/aiobject.cpp:363:18: note: Technically the member function 'DynamicObj::setExplosion' can be const. gl-117-1.3.2/src/aiobject.cpp:373:18: style:inconclusive: Technically the member function 'DynamicObj::setBlackSmoke' can be const. [functionConst] gl-117-1.3.2/src/aiobject.h:173:8: note: Technically the member function 'DynamicObj::setBlackSmoke' can be const. gl-117-1.3.2/src/aiobject.cpp:373:18: note: Technically the member function 'DynamicObj::setBlackSmoke' can be const. gl-117-1.3.2/src/aiobject.cpp:384:17: style:inconclusive: Technically the member function 'DynamicObj::getAngle' can be const. [functionConst] gl-117-1.3.2/src/aiobject.h:175:7: note: Technically the member function 'DynamicObj::getAngle' can be const. gl-117-1.3.2/src/aiobject.cpp:384:17: note: Technically the member function 'DynamicObj::getAngle' can be const. gl-117-1.3.2/src/aiobject.cpp:1409:13: style:inconclusive: Technically the member function 'AIObj::initValues' can be const. [functionConst] gl-117-1.3.2/src/aiobject.h:231:8: note: Technically the member function 'AIObj::initValues' can be const. gl-117-1.3.2/src/aiobject.cpp:1409:13: note: Technically the member function 'AIObj::initValues' can be const. gl-117-1.3.2/src/aiobject.cpp:1631:13: style:inconclusive: Technically the member function 'AIObj::haveMissile' can be const. [functionConst] gl-117-1.3.2/src/aiobject.h:241:8: note: Technically the member function 'AIObj::haveMissile' can be const. gl-117-1.3.2/src/aiobject.cpp:1631:13: note: Technically the member function 'AIObj::haveMissile' can be const. gl-117-1.3.2/src/aiobject.cpp:1400:3: warning: Class 'AIObj' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/aiobject.cpp:1400:3: warning: Class 'AIObj' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/aiobject.cpp:2048:14: style: The if condition is the same as the previous if condition [duplicateCondition] gl-117-1.3.2/src/aiobject.cpp:2046:14: note: First condition gl-117-1.3.2/src/aiobject.cpp:2048:14: note: Second condition gl-117-1.3.2/src/aiobject.cpp:344:42: style: Condition 'active' is always true [knownConditionTrueFalse] gl-117-1.3.2/src/aiobject.cpp:331:30: note: Assuming that condition 'active' is not redundant gl-117-1.3.2/src/aiobject.cpp:344:42: note: Condition 'active' is always true gl-117-1.3.2/src/aiobject.cpp:290:17: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:295:28: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:321:17: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:1686:56: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:1798:48: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:1800:48: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:1802:48: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:1820:47: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:1822:47: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/aiobject.cpp:1692:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/aiobject.cpp:1839:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/aiobject.cpp:1841:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/aiobject.cpp:2705:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/aiobject.cpp:2763:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/aiobject.cpp:2901:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gl-117-1.3.2/src/aiobject.cpp:2533:14: style: Redundant assignment of 'id' to itself. [selfAssignment] gl-117-1.3.2/src/aiobject.cpp:2541:14: style: Redundant assignment of 'id' to itself. [selfAssignment] gl-117-1.3.2/src/aiobject.cpp:105:9: style: Variable 'gamma' is reassigned a value before the old one has been used. [redundantAssignment] gl-117-1.3.2/src/aiobject.cpp:84:29: note: gamma is assigned gl-117-1.3.2/src/aiobject.cpp:105:9: note: gamma is overwritten gl-117-1.3.2/src/aiobject.cpp:1028:24: style: Variable 'recthrust' is reassigned a value before the old one has been used. [redundantAssignment] gl-117-1.3.2/src/aiobject.cpp:1026:15: note: recthrust is assigned gl-117-1.3.2/src/aiobject.cpp:1028:24: note: recthrust is overwritten gl-117-1.3.2/src/aiobject.cpp:1504:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:1538:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:1565:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:1619:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:1640:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:1703:10: style: The scope of the variable 'i2' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:1749:10: style: The scope of the variable 'i2' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:2486:9: style: The scope of the variable 'deltatheta' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:2881:13: style: The scope of the variable 'z1' can be reduced. [variableScope] gl-117-1.3.2/src/aiobject.cpp:440:10: style: Checking if unsigned expression 'dt' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/aiobject.cpp:269:9: style: Local variable 'height' shadows outer variable [shadowVariable] gl-117-1.3.2/src/common.h:94:19: note: Shadowed declaration gl-117-1.3.2/src/aiobject.cpp:269:9: note: Shadow variable gl-117-1.3.2/src/aiobject.cpp:2082:13: style: Local variable 'dgamma' shadows outer variable [shadowVariable] gl-117-1.3.2/src/aiobject.h:210:17: note: Shadowed declaration gl-117-1.3.2/src/aiobject.cpp:2082:13: note: Shadow variable gl-117-1.3.2/src/aiobject.cpp:2098:23: style: Local variable 'dphi' shadows outer variable [shadowVariable] gl-117-1.3.2/src/aiobject.cpp:2083:13: note: Shadowed declaration gl-117-1.3.2/src/aiobject.cpp:2098:23: note: Shadow variable gl-117-1.3.2/src/aiobject.cpp:2470:13: style: Local variable 'dgamma' shadows outer variable [shadowVariable] gl-117-1.3.2/src/aiobject.h:210:17: note: Shadowed declaration gl-117-1.3.2/src/aiobject.cpp:2470:13: note: Shadow variable gl-117-1.3.2/src/aiobject.cpp:2921:14: style: Local variable 'i' shadows outer variable [shadowVariable] gl-117-1.3.2/src/aiobject.cpp:1986:7: note: Shadowed declaration gl-117-1.3.2/src/aiobject.cpp:2921:14: note: Shadow variable gl-117-1.3.2/src/aiobject.cpp:66:5: style: Variable 'z' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/aiobject.cpp:2465:34: style: Variable 'recheight2' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/land.cpp:1626:12: warning: Member variable 'Landscape::type' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/land.cpp:1626:12: warning: Member variable 'Landscape::ftry' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/land.cpp:1626:12: warning: Member variable 'Landscape::hg' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/land.cpp:1626:12: warning: Member variable 'Landscape::rockborder' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/land.cpp:1626:12: warning: Member variable 'Landscape::highestpoint' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/land.cpp:1626:12: warning: Member variable 'Landscape::lowestpoint' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/land.cpp:40:16: performance:inconclusive: Technically the member function 'Landscape::getCoord' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/land.h:115:7: note: Technically the member function 'Landscape::getCoord' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/land.cpp:40:16: note: Technically the member function 'Landscape::getCoord' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/land.cpp:200:17: style:inconclusive: Technically the member function 'Landscape::isType' can be const. [functionConst] gl-117-1.3.2/src/land.h:120:8: note: Technically the member function 'Landscape::isType' can be const. gl-117-1.3.2/src/land.cpp:200:17: note: Technically the member function 'Landscape::isType' can be const. gl-117-1.3.2/src/land.cpp:1547:17: style:inconclusive: Technically the member function 'Landscape::searchPlain' can be const. [functionConst] gl-117-1.3.2/src/land.h:139:8: note: Technically the member function 'Landscape::searchPlain' can be const. gl-117-1.3.2/src/land.cpp:1547:17: note: Technically the member function 'Landscape::searchPlain' can be const. gl-117-1.3.2/src/land.cpp:1406:25: style: Expression '(X & 0x4) == 0x1' is always false. [comparisonError] gl-117-1.3.2/src/land.cpp:1407:30: style: Expression '(X & 0x4) == 0x2' is always false. [comparisonError] gl-117-1.3.2/src/land.cpp:1516:19: style: Condition 'isWater(f[xf][yf])' is always true [knownConditionTrueFalse] gl-117-1.3.2/src/land.cpp:1516:19: note: Calling function 'isWater' returns 1 gl-117-1.3.2/src/land.cpp:1516:19: note: Condition 'isWater(f[xf][yf])' is always true gl-117-1.3.2/src/land.cpp:349:17: style: The scope of the variable 'y' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:435:17: style: The scope of the variable 'y' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:526:17: style: The scope of the variable 'y' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:736:17: style: The scope of the variable 'y' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:842:17: style: The scope of the variable 'y' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:996:26: style: The scope of the variable 'd' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:999:10: style: The scope of the variable 'r' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:999:13: style: The scope of the variable 'rd' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:1074:10: style: The scope of the variable 'i2' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:1177:20: style: The scope of the variable 'level' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:1204:9: style: The scope of the variable 'extent' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:1445:14: style: The scope of the variable 'i3' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:1446:58: style: The scope of the variable 'xf2' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:1446:63: style: The scope of the variable 'yf2' can be reduced. [variableScope] gl-117-1.3.2/src/land.cpp:232:7: style: Local variable 'type' shadows outer variable [shadowVariable] gl-117-1.3.2/src/land.h:104:7: note: Shadowed declaration gl-117-1.3.2/src/land.cpp:232:7: note: Shadow variable gl-117-1.3.2/src/land.cpp:1074:14: style: Local variable 'n' shadows outer variable [shadowVariable] gl-117-1.3.2/src/land.h:111:20: note: Shadowed declaration gl-117-1.3.2/src/land.cpp:1074:14: note: Shadow variable gl-117-1.3.2/src/land.cpp:1191:9: style: Local variable 'maxx' shadows outer variable [shadowVariable] gl-117-1.3.2/src/land.h:110:7: note: Shadowed declaration gl-117-1.3.2/src/land.cpp:1191:9: note: Shadow variable gl-117-1.3.2/src/land.cpp:152:7: style: Variable 'g5' can be declared as const array [constVariable] gl-117-1.3.2/src/land.cpp:347:47: style: Parameter 'heightmap' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/land.cpp:433:54: style: Parameter 'heightmap' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/land.cpp:524:53: style: Parameter 'heightmap' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/land.cpp:1426:48: style: Parameter 'fl' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/land.cpp:1079:5: style: Variable 'w' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/land.cpp:1204:16: style: Variable 'extent' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/mathtab.cpp:92:17: style: Condition '(ret%5)<=4' is always true [knownConditionTrueFalse] gl-117-1.3.2/src/mathtab.cpp:112:17: style: Condition '(ret%5)<=4' is always true [knownConditionTrueFalse] gl-117-1.3.2/src/mathtab.cpp:132:17: style: Condition '(ret%5)<=4' is always true [knownConditionTrueFalse] gl-117-1.3.2/src/glland.cpp:679:20: warning: Either the condition 'phi<0' is redundant or the array 'cosi[0]' is accessed at index -1, which is out of bounds. [negativeIndex] gl-117-1.3.2/src/glland.cpp:674:11: note: Assuming that condition 'phi<0' is not redundant gl-117-1.3.2/src/glland.cpp:679:20: note: Negative array index gl-117-1.3.2/src/glland.cpp:679:46: warning: Either the condition 'phi<0' is redundant or the array 'sine[0]' is accessed at index -1, which is out of bounds. [negativeIndex] gl-117-1.3.2/src/glland.cpp:674:11: note: Assuming that condition 'phi<0' is not redundant gl-117-1.3.2/src/glland.cpp:679:46: note: Negative array index gl-117-1.3.2/src/glland.cpp:103:18: style:inconclusive: Technically the member function 'GLLandscape::selectColor' can be const. [functionConst] gl-117-1.3.2/src/glland.h:100:7: note: Technically the member function 'GLLandscape::selectColor' can be const. gl-117-1.3.2/src/glland.cpp:103:18: note: Technically the member function 'GLLandscape::selectColor' can be const. gl-117-1.3.2/src/glland.cpp:450:20: style:inconclusive: Technically the member function 'GLLandscape::getMinHeight' can be const. [functionConst] gl-117-1.3.2/src/glland.h:108:9: note: Technically the member function 'GLLandscape::getMinHeight' can be const. gl-117-1.3.2/src/glland.cpp:450:20: note: Technically the member function 'GLLandscape::getMinHeight' can be const. gl-117-1.3.2/src/glland.cpp:458:20: style:inconclusive: Technically the member function 'GLLandscape::getMaxHeight' can be const. [functionConst] gl-117-1.3.2/src/glland.h:109:9: note: Technically the member function 'GLLandscape::getMaxHeight' can be const. gl-117-1.3.2/src/glland.cpp:458:20: note: Technically the member function 'GLLandscape::getMaxHeight' can be const. gl-117-1.3.2/src/glland.cpp:466:20: style:inconclusive: Technically the member function 'GLLandscape::getHeight' can be const. [functionConst] gl-117-1.3.2/src/glland.h:110:9: note: Technically the member function 'GLLandscape::getHeight' can be const. gl-117-1.3.2/src/glland.cpp:466:20: note: Technically the member function 'GLLandscape::getHeight' can be const. gl-117-1.3.2/src/glland.cpp:474:20: style:inconclusive: Technically the member function 'GLLandscape::getExactHeight2' can be const. [functionConst] gl-117-1.3.2/src/glland.h:112:9: note: Technically the member function 'GLLandscape::getExactHeight2' can be const. gl-117-1.3.2/src/glland.cpp:474:20: note: Technically the member function 'GLLandscape::getExactHeight2' can be const. gl-117-1.3.2/src/glland.cpp:494:20: style:inconclusive: Technically the member function 'GLLandscape::getExactHeight3' can be const. [functionConst] gl-117-1.3.2/src/glland.h:113:9: note: Technically the member function 'GLLandscape::getExactHeight3' can be const. gl-117-1.3.2/src/glland.cpp:494:20: note: Technically the member function 'GLLandscape::getExactHeight3' can be const. gl-117-1.3.2/src/glland.cpp:514:20: style:inconclusive: Technically the member function 'GLLandscape::getExactHeight4' can be const. [functionConst] gl-117-1.3.2/src/glland.h:114:9: note: Technically the member function 'GLLandscape::getExactHeight4' can be const. gl-117-1.3.2/src/glland.cpp:514:20: note: Technically the member function 'GLLandscape::getExactHeight4' can be const. gl-117-1.3.2/src/glland.cpp:557:20: style:inconclusive: Technically the member function 'GLLandscape::getExactLSHeight2' can be const. [functionConst] gl-117-1.3.2/src/glland.h:117:9: note: Technically the member function 'GLLandscape::getExactLSHeight2' can be const. gl-117-1.3.2/src/glland.cpp:557:20: note: Technically the member function 'GLLandscape::getExactLSHeight2' can be const. gl-117-1.3.2/src/glland.cpp:579:20: style:inconclusive: Technically the member function 'GLLandscape::getExactLSHeight3' can be const. [functionConst] gl-117-1.3.2/src/glland.h:118:9: note: Technically the member function 'GLLandscape::getExactLSHeight3' can be const. gl-117-1.3.2/src/glland.cpp:579:20: note: Technically the member function 'GLLandscape::getExactLSHeight3' can be const. gl-117-1.3.2/src/glland.cpp:601:20: style:inconclusive: Technically the member function 'GLLandscape::getExactLSHeight4' can be const. [functionConst] gl-117-1.3.2/src/glland.h:119:9: note: Technically the member function 'GLLandscape::getExactLSHeight4' can be const. gl-117-1.3.2/src/glland.cpp:601:20: note: Technically the member function 'GLLandscape::getExactLSHeight4' can be const. gl-117-1.3.2/src/glland.cpp:644:20: style:inconclusive: Technically the member function 'GLLandscape::getRayHeight' can be const. [functionConst] gl-117-1.3.2/src/glland.h:122:9: note: Technically the member function 'GLLandscape::getRayHeight' can be const. gl-117-1.3.2/src/glland.cpp:644:20: note: Technically the member function 'GLLandscape::getRayHeight' can be const. gl-117-1.3.2/src/glland.cpp:652:20: style:inconclusive: Technically the member function 'GLLandscape::getExactRayHeight' can be const. [functionConst] gl-117-1.3.2/src/glland.h:124:9: note: Technically the member function 'GLLandscape::getExactRayHeight' can be const. gl-117-1.3.2/src/glland.cpp:652:20: note: Technically the member function 'GLLandscape::getExactRayHeight' can be const. gl-117-1.3.2/src/glland.cpp:1409:19: style:inconclusive: Technically the member function 'GLLandscape::drawTexturedQuad' can be const. [functionConst] gl-117-1.3.2/src/glland.h:135:8: note: Technically the member function 'GLLandscape::drawTexturedQuad' can be const. gl-117-1.3.2/src/glland.cpp:1409:19: note: Technically the member function 'GLLandscape::drawTexturedQuad' can be const. gl-117-1.3.2/src/glland.cpp:1315:19: style:inconclusive: Technically the member function 'GLLandscape::drawTexturedTriangle' can be const. [functionConst] gl-117-1.3.2/src/glland.h:136:8: note: Technically the member function 'GLLandscape::drawTexturedTriangle' can be const. gl-117-1.3.2/src/glland.cpp:1315:19: note: Technically the member function 'GLLandscape::drawTexturedTriangle' can be const. gl-117-1.3.2/src/glland.cpp:1220:19: style:inconclusive: Technically the member function 'GLLandscape::drawTexturedQuad' can be const. [functionConst] gl-117-1.3.2/src/glland.h:137:8: note: Technically the member function 'GLLandscape::drawTexturedQuad' can be const. gl-117-1.3.2/src/glland.cpp:1220:19: note: Technically the member function 'GLLandscape::drawTexturedQuad' can be const. gl-117-1.3.2/src/glland.cpp:1725:19: style:inconclusive: Technically the member function 'GLLandscape::drawTexturedTriangle1' can be const. [functionConst] gl-117-1.3.2/src/glland.h:139:8: note: Technically the member function 'GLLandscape::drawTexturedTriangle1' can be const. gl-117-1.3.2/src/glland.cpp:1725:19: note: Technically the member function 'GLLandscape::drawTexturedTriangle1' can be const. gl-117-1.3.2/src/glland.cpp:1838:19: style:inconclusive: Technically the member function 'GLLandscape::drawTexturedTriangle2' can be const. [functionConst] gl-117-1.3.2/src/glland.h:140:8: note: Technically the member function 'GLLandscape::drawTexturedTriangle2' can be const. gl-117-1.3.2/src/glland.cpp:1838:19: note: Technically the member function 'GLLandscape::drawTexturedTriangle2' can be const. gl-117-1.3.2/src/menu.cpp:171:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:349:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:389:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:446:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:514:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:612:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:666:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_ELAPSED_TIME [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:681:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_ELAPSED_TIME [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/menu.cpp:707:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_ELAPSED_TIME [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/glland.cpp:1758:59: style: Condition 'tex1[x][y]!=texgrass->textureID' is always true [knownConditionTrueFalse] gl-117-1.3.2/src/menu.cpp:36:12: warning: Member variable 'Component::x' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:36:12: warning: Member variable 'Component::y' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:36:12: warning: Member variable 'Component::w' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:36:12: warning: Member variable 'Component::h' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:132:12: warning: Member variable 'Container::components' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:318:8: warning:inconclusive: Member variable 'Label::text' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:318:8: warning:inconclusive: Member variable 'Label::transparent' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:373:9: warning:inconclusive: Member variable 'Button::text' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:422:12: warning:inconclusive: Member variable 'TextField::text' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:422:12: warning:inconclusive: Member variable 'TextField::fonth' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:470:10: warning: Member variable 'EditKey::text' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:470:10: warning: Member variable 'EditKey::special' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:470:10: warning: Member variable 'EditKey::specialActive' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:580:15: warning: Member variable 'EditJoystick::text' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:658:12: warning: Member variable 'EditField::maxlen' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/menu.cpp:109:17: style:inconclusive: Technically the member function 'Component::isActive' can be const. [functionConst] gl-117-1.3.2/src/menu.h:51:8: note: Technically the member function 'Component::isActive' can be const. gl-117-1.3.2/src/menu.cpp:109:17: note: Technically the member function 'Component::isActive' can be const. gl-117-1.3.2/src/menu.cpp:114:17: style:inconclusive: Technically the member function 'Component::isVisible' can be const. [functionConst] gl-117-1.3.2/src/menu.h:52:8: note: Technically the member function 'Component::isVisible' can be const. gl-117-1.3.2/src/menu.cpp:114:17: note: Technically the member function 'Component::isVisible' can be const. gl-117-1.3.2/src/menu.cpp:119:17: style:inconclusive: Technically the member function 'Component::isHighlight' can be const. [functionConst] gl-117-1.3.2/src/menu.h:53:8: note: Technically the member function 'Component::isHighlight' can be const. gl-117-1.3.2/src/menu.cpp:119:17: note: Technically the member function 'Component::isHighlight' can be const. gl-117-1.3.2/src/menu.cpp:156:16: style:inconclusive: Technically the member function 'Container::getNumberOfComponents' can be const. [functionConst] gl-117-1.3.2/src/menu.h:73:7: note: Technically the member function 'Container::getNumberOfComponents' can be const. gl-117-1.3.2/src/menu.cpp:156:16: note: Technically the member function 'Container::getNumberOfComponents' can be const. gl-117-1.3.2/src/menu.cpp:500:14: style:inconclusive: Technically the member function 'EditKey::getKey' can be const. [functionConst] gl-117-1.3.2/src/menu.h:137:7: note: Technically the member function 'EditKey::getKey' can be const. gl-117-1.3.2/src/menu.cpp:500:14: note: Technically the member function 'EditKey::getKey' can be const. gl-117-1.3.2/src/menu.cpp:601:19: style:inconclusive: Technically the member function 'EditJoystick::getButton' can be const. [functionConst] gl-117-1.3.2/src/menu.h:154:7: note: Technically the member function 'EditJoystick::getButton' can be const. gl-117-1.3.2/src/menu.cpp:601:19: note: Technically the member function 'EditJoystick::getButton' can be const. gl-117-1.3.2/src/menu.h:94:3: style: Class 'Label' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/menu.h:107:3: style: Class 'Button' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/menu.h:134:3: style: Class 'EditKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/menu.h:151:3: style: Class 'EditJoystick' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/menu.h:169:3: style: Class 'EditField' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/menu.h:75:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:57:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:75:8: note: Function in derived class gl-117-1.3.2/src/menu.h:76:8: style: The function 'eventMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:58:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:76:8: note: Function in derived class gl-117-1.3.2/src/menu.h:77:8: style: The function 'triggerMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:77:8: note: Function in derived class gl-117-1.3.2/src/menu.h:78:8: style: The function 'setVisible' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:49:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:78:8: note: Function in derived class gl-117-1.3.2/src/menu.h:79:8: style: The function 'setActive' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:48:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:79:8: note: Function in derived class gl-117-1.3.2/src/menu.h:80:8: style: The function 'setHighlight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:50:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:80:8: note: Function in derived class gl-117-1.3.2/src/menu.h:81:8: style: The function 'contains' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:60:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:81:8: note: Function in derived class gl-117-1.3.2/src/menu.h:82:8: style: The function 'eventKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:61:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:82:8: note: Function in derived class gl-117-1.3.2/src/menu.h:83:8: style: The function 'eventSpecial' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:62:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:83:8: note: Function in derived class gl-117-1.3.2/src/menu.h:84:8: style: The function 'eventJoystick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:63:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:84:8: note: Function in derived class gl-117-1.3.2/src/menu.h:97:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:57:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:97:8: note: Function in derived class gl-117-1.3.2/src/menu.h:98:8: style: The function 'triggerMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:98:8: note: Function in derived class gl-117-1.3.2/src/menu.h:108:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:57:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:108:8: note: Function in derived class gl-117-1.3.2/src/menu.h:109:8: style: The function 'triggerMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:109:8: note: Function in derived class gl-117-1.3.2/src/menu.h:121:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:57:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:121:8: note: Function in derived class gl-117-1.3.2/src/menu.h:122:8: style: The function 'triggerMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:122:8: note: Function in derived class gl-117-1.3.2/src/menu.h:138:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:57:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:138:8: note: Function in derived class gl-117-1.3.2/src/menu.h:139:8: style: The function 'triggerMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:139:8: note: Function in derived class gl-117-1.3.2/src/menu.h:140:8: style: The function 'eventKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:61:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:140:8: note: Function in derived class gl-117-1.3.2/src/menu.h:141:8: style: The function 'eventSpecial' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:62:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:141:8: note: Function in derived class gl-117-1.3.2/src/menu.h:155:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:57:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:155:8: note: Function in derived class gl-117-1.3.2/src/menu.h:156:8: style: The function 'triggerMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:156:8: note: Function in derived class gl-117-1.3.2/src/menu.h:157:8: style: The function 'eventJoystick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:63:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:157:8: note: Function in derived class gl-117-1.3.2/src/menu.h:171:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:57:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:171:8: note: Function in derived class gl-117-1.3.2/src/menu.h:172:8: style: The function 'triggerMouse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:172:8: note: Function in derived class gl-117-1.3.2/src/menu.h:173:8: style: The function 'eventKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/menu.h:61:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:173:8: note: Function in derived class gl-117-1.3.2/src/menu.h:98:8: style: The function 'triggerMouse' overrides a function in a base class but is identical to the overridden function [uselessOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:98:8: note: Function in derived class gl-117-1.3.2/src/menu.h:122:8: style: The function 'triggerMouse' overrides a function in a base class but is identical to the overridden function [uselessOverride] gl-117-1.3.2/src/menu.h:59:16: note: Virtual function in base class gl-117-1.3.2/src/menu.h:122:8: note: Function in derived class gl-117-1.3.2/src/menu.cpp:146:7: style: The scope of the variable 'i' can be reduced. [variableScope] gl-117-1.3.2/src/menu.cpp:201:7: style: The scope of the variable 'mypicks' can be reduced. [variableScope] gl-117-1.3.2/src/menu.cpp:547:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/menu.cpp:563:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/menu.cpp:642:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/menu.cpp:696:7: style: The scope of the variable 'akttime' can be reduced. [variableScope] gl-117-1.3.2/src/menu.cpp:596:35: style:inconclusive: Function 'setButton' argument 1 names different: declaration 'key' definition 'button'. [funcArgNamesDifferent] gl-117-1.3.2/src/menu.h:153:23: note: Function 'setButton' argument 1 names different: declaration 'key' definition 'button'. gl-117-1.3.2/src/menu.cpp:596:35: note: Function 'setButton' argument 1 names different: declaration 'key' definition 'button'. gl-117-1.3.2/src/menu.cpp:205:9: style: Local variable 'i' shadows outer variable [shadowVariable] gl-117-1.3.2/src/menu.cpp:163:7: note: Shadowed declaration gl-117-1.3.2/src/menu.cpp:205:9: note: Shadow variable gl-117-1.3.2/src/menu.cpp:322:21: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:332:28: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:377:23: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:426:29: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:436:32: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:475:25: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:481:30: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:585:35: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:591:35: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/menu.cpp:685:32: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/glland.cpp:1758:43: style: Same expression on both sides of '&&'. [duplicateExpression] gl-117-1.3.2/src/glland.cpp:2092:7: style: Same expression used in consecutive assignments of 'cx' and 'cy'. [duplicateAssignExpression] gl-117-1.3.2/src/glland.cpp:2092:23: note: Same expression used in consecutive assignments of 'cx' and 'cy'. gl-117-1.3.2/src/glland.cpp:2092:7: note: Same expression used in consecutive assignments of 'cx' and 'cy'. gl-117-1.3.2/src/glland.cpp:1983:66: style: Redundant initialization for 'fardetail'. The initialized value is overwritten before it is read. [redundantInitialization] gl-117-1.3.2/src/glland.cpp:1964:17: note: fardetail is initialized gl-117-1.3.2/src/glland.cpp:1983:66: note: fardetail is overwritten gl-117-1.3.2/src/glland.cpp:1983:50: style: Redundant initialization for 'middetail'. The initialized value is overwritten before it is read. [redundantInitialization] gl-117-1.3.2/src/glland.cpp:1965:17: note: middetail is initialized gl-117-1.3.2/src/glland.cpp:1983:50: note: middetail is overwritten gl-117-1.3.2/src/glland.cpp:2406:24: style: Variable 'sunlight' is reassigned a value before the old one has been used. [redundantAssignment] gl-117-1.3.2/src/glland.cpp:2404:24: note: sunlight is assigned gl-117-1.3.2/src/glland.cpp:2406:24: note: sunlight is overwritten gl-117-1.3.2/src/glland.cpp:681:7: style: The scope of the variable 'myticker' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1083:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1155:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1228:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1323:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1417:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1519:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1733:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1846:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1959:14: style: The scope of the variable 'i3' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1962:9: style: The scope of the variable 'fac' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:2351:7: style: The scope of the variable 'zz1' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:2830:13: style: The scope of the variable 'radius' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:2860:15: style: The scope of the variable 'radius' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:2889:13: style: The scope of the variable 'radius' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:2919:13: style: The scope of the variable 'radius' can be reduced. [variableScope] gl-117-1.3.2/src/glland.cpp:1409:41: style:inconclusive: Function 'drawTexturedQuad' argument 1 names different: declaration 'x' definition 'xs'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:135:30: note: Function 'drawTexturedQuad' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1409:41: note: Function 'drawTexturedQuad' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1409:49: style:inconclusive: Function 'drawTexturedQuad' argument 2 names different: declaration 'y' definition 'ys'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:135:37: note: Function 'drawTexturedQuad' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:1409:49: note: Function 'drawTexturedQuad' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:1510:46: style:inconclusive: Function 'drawWaterTexturedQuad' argument 1 names different: declaration 'x' definition 'xs'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:138:35: note: Function 'drawWaterTexturedQuad' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1510:46: note: Function 'drawWaterTexturedQuad' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1510:54: style:inconclusive: Function 'drawWaterTexturedQuad' argument 2 names different: declaration 'y' definition 'ys'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:138:42: note: Function 'drawWaterTexturedQuad' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:1510:54: note: Function 'drawWaterTexturedQuad' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:1725:46: style:inconclusive: Function 'drawTexturedTriangle1' argument 1 names different: declaration 'x' definition 'xs'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:139:35: note: Function 'drawTexturedTriangle1' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1725:46: note: Function 'drawTexturedTriangle1' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1725:54: style:inconclusive: Function 'drawTexturedTriangle1' argument 2 names different: declaration 'y' definition 'ys'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:139:42: note: Function 'drawTexturedTriangle1' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:1725:54: note: Function 'drawTexturedTriangle1' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:1838:46: style:inconclusive: Function 'drawTexturedTriangle2' argument 1 names different: declaration 'x' definition 'xs'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:140:35: note: Function 'drawTexturedTriangle2' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1838:46: note: Function 'drawTexturedTriangle2' argument 1 names different: declaration 'x' definition 'xs'. gl-117-1.3.2/src/glland.cpp:1838:54: style:inconclusive: Function 'drawTexturedTriangle2' argument 2 names different: declaration 'y' definition 'ys'. [funcArgNamesDifferent] gl-117-1.3.2/src/glland.h:140:42: note: Function 'drawTexturedTriangle2' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:1838:54: note: Function 'drawTexturedTriangle2' argument 2 names different: declaration 'y' definition 'ys'. gl-117-1.3.2/src/glland.cpp:179:11: style: Local variable 'a' shadows outer variable [shadowVariable] gl-117-1.3.2/src/glland.cpp:134:9: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:179:11: note: Shadow variable gl-117-1.3.2/src/glland.cpp:890:11: style: Local variable 'y2' shadows outer argument [shadowArgument] gl-117-1.3.2/src/glland.cpp:865:62: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:890:11: note: Shadow variable gl-117-1.3.2/src/glland.cpp:896:11: style: Local variable 'x2' shadows outer argument [shadowArgument] gl-117-1.3.2/src/glland.cpp:865:54: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:896:11: note: Shadow variable gl-117-1.3.2/src/glland.cpp:2077:16: style: Local variable 'i3' shadows outer variable [shadowVariable] gl-117-1.3.2/src/glland.cpp:1959:14: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:2077:16: note: Shadow variable gl-117-1.3.2/src/glland.cpp:2840:19: style: Local variable 'dist' shadows outer function [shadowFunction] gl-117-1.3.2/src/mathtab.h:35:14: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:2840:19: note: Shadow variable gl-117-1.3.2/src/glland.cpp:2870:21: style: Local variable 'dist' shadows outer function [shadowFunction] gl-117-1.3.2/src/mathtab.h:35:14: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:2870:21: note: Shadow variable gl-117-1.3.2/src/glland.cpp:2899:19: style: Local variable 'dist' shadows outer function [shadowFunction] gl-117-1.3.2/src/mathtab.h:35:14: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:2899:19: note: Shadow variable gl-117-1.3.2/src/glland.cpp:2929:19: style: Local variable 'dist' shadows outer function [shadowFunction] gl-117-1.3.2/src/mathtab.h:35:14: note: Shadowed declaration gl-117-1.3.2/src/glland.cpp:2929:19: note: Shadow variable gl-117-1.3.2/src/glland.cpp:95:46: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/glland.cpp:95:56: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/glland.cpp:361:8: style: Variable 'g3_1' can be declared as const array [constVariable] gl-117-1.3.2/src/glland.cpp:878:13: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/glland.cpp:1080:13: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/glland.cpp:1152:13: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/glland.cpp:2728:14: style: Variable 'zz' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/glland.cpp:2792:14: style: Variable 'zz' is assigned a value that is never used. [unreadVariable] gl-117-1.3.2/src/model.cpp:635:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINES [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/model.cpp:672:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/model.cpp:910:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STRIP [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/model.cpp:1067:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STRIP [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/model.cpp:1188:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STRIP [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::token' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::map_type' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::save_map_type' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::weather' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::clouds' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::relx' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::rely' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::text' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::textstart' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::textdelay' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::mapfile' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::scaleheight' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::tree' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:109:16: warning: Member variable 'MissionCustom::minh' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/maploader.cpp:90:17: performance:inconclusive: Technically the member function 'MapLoader::toUpper' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/maploader.h:43:8: note: Technically the member function 'MapLoader::toUpper' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:90:17: note: Technically the member function 'MapLoader::toUpper' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:80:16: style:inconclusive: Technically the member function 'MapLoader::getMapNumber' can be const. [functionConst] gl-117-1.3.2/src/maploader.h:45:7: note: Technically the member function 'MapLoader::getMapNumber' can be const. gl-117-1.3.2/src/maploader.cpp:80:16: note: Technically the member function 'MapLoader::getMapNumber' can be const. gl-117-1.3.2/src/maploader.cpp:124:21: performance:inconclusive: Technically the member function 'MissionCustom::toUpper' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/maploader.h:77:8: note: Technically the member function 'MissionCustom::toUpper' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:124:21: note: Technically the member function 'MissionCustom::toUpper' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:167:20: performance:inconclusive: Technically the member function 'MissionCustom::isInteger' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/maploader.h:78:7: note: Technically the member function 'MissionCustom::isInteger' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:167:20: note: Technically the member function 'MissionCustom::isInteger' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:178:20: performance:inconclusive: Technically the member function 'MissionCustom::isDouble' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/maploader.h:79:7: note: Technically the member function 'MissionCustom::isDouble' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:178:20: note: Technically the member function 'MissionCustom::isDouble' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:188:23: performance:inconclusive: Technically the member function 'MissionCustom::toDouble' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/maploader.h:80:10: note: Technically the member function 'MissionCustom::toDouble' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:188:23: note: Technically the member function 'MissionCustom::toDouble' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:628:20: style:inconclusive: Technically the member function 'MissionCustom::isGlobal' can be const. [functionConst] gl-117-1.3.2/src/maploader.h:81:7: note: Technically the member function 'MissionCustom::isGlobal' can be const. gl-117-1.3.2/src/maploader.cpp:628:20: note: Technically the member function 'MissionCustom::isGlobal' can be const. gl-117-1.3.2/src/maploader.cpp:161:20: performance:inconclusive: Technically the member function 'MissionCustom::synchronize' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/maploader.h:82:7: note: Technically the member function 'MissionCustom::synchronize' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:161:20: note: Technically the member function 'MissionCustom::synchronize' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/maploader.cpp:840:21: style:inconclusive: Technically the member function 'MissionCustom::setLakeMin' can be const. [functionConst] gl-117-1.3.2/src/maploader.h:89:8: note: Technically the member function 'MissionCustom::setLakeMin' can be const. gl-117-1.3.2/src/maploader.cpp:840:21: note: Technically the member function 'MissionCustom::setLakeMin' can be const. gl-117-1.3.2/src/maploader.cpp:732:21: warning: The class 'MissionCustom' defines member function with name 'init' also defined in its parent class 'Mission'. [duplInheritedMember] gl-117-1.3.2/src/mission.h:100:8: note: Parent function 'Mission::init' gl-117-1.3.2/src/maploader.cpp:732:21: note: Derived function 'MissionCustom::init' gl-117-1.3.2/src/maploader.h:91:8: style: The function 'start' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:101:16: note: Virtual function in base class gl-117-1.3.2/src/maploader.h:91:8: note: Function in derived class gl-117-1.3.2/src/maploader.h:92:7: style: The function 'processtimer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:102:15: note: Virtual function in base class gl-117-1.3.2/src/maploader.h:92:7: note: Function in derived class gl-117-1.3.2/src/maploader.h:93:8: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gl-117-1.3.2/src/mission.h:103:16: note: Virtual function in base class gl-117-1.3.2/src/maploader.h:93:8: note: Function in derived class gl-117-1.3.2/src/maploader.cpp:879:13: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/maploader.cpp:880:13: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/maploader.cpp:1006:12: style: Redundant assignment of '::clouds' to itself. [selfAssignment] gl-117-1.3.2/src/maploader.cpp:1007:13: style: Redundant assignment of '::weather' to itself. [selfAssignment] gl-117-1.3.2/src/maploader.cpp:200:7: style: The scope of the variable 'ret' can be reduced. [variableScope] gl-117-1.3.2/src/maploader.cpp:364:7: style: The scope of the variable 'ret' can be reduced. [variableScope] gl-117-1.3.2/src/maploader.cpp:507:7: style: The scope of the variable 'ret' can be reduced. [variableScope] gl-117-1.3.2/src/maploader.cpp:564:7: style: The scope of the variable 'ret' can be reduced. [variableScope] gl-117-1.3.2/src/maploader.cpp:638:7: style: The scope of the variable 'ret' can be reduced. [variableScope] gl-117-1.3.2/src/maploader.cpp:854:10: style: The scope of the variable 'i2' can be reduced. [variableScope] gl-117-1.3.2/src/maploader.cpp:296:14: style: Local variable 'bpp' shadows outer variable [shadowVariable] gl-117-1.3.2/src/common.h:94:27: note: Shadowed declaration gl-117-1.3.2/src/maploader.cpp:296:14: note: Shadow variable gl-117-1.3.2/src/maploader.cpp:855:7: style: Local variable 'relx' shadows outer variable [shadowVariable] gl-117-1.3.2/src/maploader.h:65:7: note: Shadowed declaration gl-117-1.3.2/src/maploader.cpp:855:7: note: Shadow variable gl-117-1.3.2/src/maploader.cpp:855:17: style: Local variable 'rely' shadows outer variable [shadowVariable] gl-117-1.3.2/src/maploader.h:65:13: note: Shadowed declaration gl-117-1.3.2/src/maploader.cpp:855:17: note: Shadow variable gl-117-1.3.2/src/maploader.cpp:881:9: style: Local variable 'minh' shadows outer variable [shadowVariable] gl-117-1.3.2/src/maploader.h:72:7: note: Shadowed declaration gl-117-1.3.2/src/maploader.cpp:881:9: note: Shadow variable gl-117-1.3.2/src/maploader.cpp:37:29: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/maploader.cpp:116:34: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/maploader.cpp:167:37: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/maploader.cpp:178:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/maploader.cpp:188:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/maploader.cpp:628:36: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/maploader.cpp:866:20: style: Variable 'map' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/net.cpp:354:9: warning: Member variable 'Client::isready' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/net.cpp:354:9: warning: Member variable 'Client::name' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/net.cpp:103:9: warning: Member variable 'Server::isready' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/net.cpp:103:9: warning: Member variable 'Server::name' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/net.cpp:103:9: warning: Member variable 'Server::id' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/net.cpp:103:9: warning: Member variable 'Server::num_clients' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/net.cpp:369:14: performance:inconclusive: Technically the member function 'Client::getServer' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:46:8: note: Technically the member function 'Client::getServer' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:369:14: note: Technically the member function 'Client::getServer' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:467:14: performance:inconclusive: Technically the member function 'Client::sendMessage' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:48:8: note: Technically the member function 'Client::sendMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:467:14: note: Technically the member function 'Client::sendMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:421:13: performance:inconclusive: Technically the member function 'Client::getMessage' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:49:7: note: Technically the member function 'Client::getMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:421:13: note: Technically the member function 'Client::getMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:260:13: performance:inconclusive: Technically the member function 'Server::getMessage' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:73:7: note: Technically the member function 'Server::getMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:260:13: note: Technically the member function 'Server::getMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:248:13: performance:inconclusive: Technically the member function 'Server::getClientFromID' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:74:7: note: Technically the member function 'Server::getClientFromID' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:248:13: note: Technically the member function 'Server::getClientFromID' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:145:13: performance:inconclusive: Technically the member function 'Server::getIP' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:75:7: note: Technically the member function 'Server::getIP' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:145:13: note: Technically the member function 'Server::getIP' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:154:14: performance:inconclusive: Technically the member function 'Server::removeClient' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:76:8: note: Technically the member function 'Server::removeClient' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:154:14: note: Technically the member function 'Server::removeClient' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:204:14: performance:inconclusive: Technically the member function 'Server::getClient' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:77:8: note: Technically the member function 'Server::getClient' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:204:14: note: Technically the member function 'Server::getClient' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:185:14: performance:inconclusive: Technically the member function 'Server::createSocketSet' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:78:8: note: Technically the member function 'Server::createSocketSet' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:185:14: note: Technically the member function 'Server::createSocketSet' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:339:14: performance:inconclusive: Technically the member function 'Server::sendMessage' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:79:8: note: Technically the member function 'Server::sendMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:339:14: note: Technically the member function 'Server::sendMessage' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:298:13: performance:inconclusive: Technically the member function 'Server::checkStart' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/net.h:81:7: note: Technically the member function 'Server::checkStart' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:298:13: note: Technically the member function 'Server::checkStart' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/net.cpp:260:28: style:inconclusive: Function 'getMessage' argument 1 names different: declaration 'ip_client' definition 'id_client'. [funcArgNamesDifferent] gl-117-1.3.2/src/net.h:73:22: note: Function 'getMessage' argument 1 names different: declaration 'ip_client' definition 'id_client'. gl-117-1.3.2/src/net.cpp:260:28: note: Function 'getMessage' argument 1 names different: declaration 'ip_client' definition 'id_client'. gl-117-1.3.2/src/net.cpp:339:30: style:inconclusive: Function 'sendMessage' argument 1 names different: declaration 'ip_client' definition 'id_client'. [funcArgNamesDifferent] gl-117-1.3.2/src/net.h:79:25: note: Function 'sendMessage' argument 1 names different: declaration 'ip_client' definition 'id_client'. gl-117-1.3.2/src/net.cpp:339:30: note: Function 'sendMessage' argument 1 names different: declaration 'ip_client' definition 'id_client'. gl-117-1.3.2/src/net.cpp:339:47: style:inconclusive: Function 'sendMessage' argument 2 names different: declaration 'message' definition 'buf'. [funcArgNamesDifferent] gl-117-1.3.2/src/net.h:79:42: note: Function 'sendMessage' argument 2 names different: declaration 'message' definition 'buf'. gl-117-1.3.2/src/net.cpp:339:47: note: Function 'sendMessage' argument 2 names different: declaration 'message' definition 'buf'. gl-117-1.3.2/src/net.cpp:260:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/net.cpp:339:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/net.cpp:369:30: style: Parameter 'hostname' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/net.cpp:369:46: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/net.cpp:421:30: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/net.cpp:467:32: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/object.cpp:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/model.cpp:89:11: warning: Member variable 'CTexture::name' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:89:11: warning: Member variable 'CTexture::width' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:89:11: warning: Member variable 'CTexture::height' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:89:11: warning: Member variable 'CTexture::quality' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:89:11: warning: Member variable 'CTexture::alpha' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:320:10: warning: Member variable 'CVertex::tex' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:325:10: warning: Member variable 'CVertex::tex' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:495:12: warning: Member variable 'CMaterial::texture' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:495:12: warning: Member variable 'CMaterial::utile' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:495:12: warning: Member variable 'CMaterial::vtile' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:509:10: warning: Member variable 'CObject::name' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:509:10: warning: Member variable 'CObject::vertex' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:509:10: warning: Member variable 'CObject::triangle' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:509:10: warning: Member variable 'CObject::quad' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::rotcol' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::material' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::object' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::scalex' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::scaley' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::scalez' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::cubex' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::cubey' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:542:9: warning: Member variable 'CModel::cubez' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:1323:10: warning:inconclusive: Member variable 'CSphere::segments' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:1323:10: warning:inconclusive: Member variable 'CSphere::radius' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:1323:10: warning:inconclusive: Member variable 'CSphere::dx' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:1323:10: warning:inconclusive: Member variable 'CSphere::dy' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:1323:10: warning:inconclusive: Member variable 'CSphere::dz' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:1478:14: warning:inconclusive: Member variable 'CSpherePart::segments' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:29:12: warning: Member variable 'CSpaceObj::reftl' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:1478:14: warning:inconclusive: Member variable 'CSpherePart::radius' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:29:12: warning: Member variable 'CSpaceObj::refrot' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:29:12: warning: Member variable 'CSpaceObj::refscale' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:39:12: warning: Member variable 'CSpaceObj::reftl' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:39:12: warning: Member variable 'CSpaceObj::refrot' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:39:12: warning: Member variable 'CSpaceObj::refscale' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:147:8: warning: Member variable 'Space::o' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/object.cpp:153:8: warning: Member variable 'Space::o' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/model.cpp:77:14: style:inconclusive: Technically the member function 'CColor::isEqual' can be const. [functionConst] gl-117-1.3.2/src/model.h:51:8: note: Technically the member function 'CColor::isEqual' can be const. gl-117-1.3.2/src/model.cpp:77:14: note: Technically the member function 'CColor::isEqual' can be const. gl-117-1.3.2/src/model.cpp:202:16: style:inconclusive: Technically the member function 'CTexture::getColor' can be const. [functionConst] gl-117-1.3.2/src/model.h:77:8: note: Technically the member function 'CTexture::getColor' can be const. gl-117-1.3.2/src/model.cpp:202:16: note: Technically the member function 'CTexture::getColor' can be const. gl-117-1.3.2/src/model.cpp:266:17: style:inconclusive: Technically the member function 'CVector3::dotproduct' can be const. [functionConst] gl-117-1.3.2/src/model.h:94:9: note: Technically the member function 'CVector3::dotproduct' can be const. gl-117-1.3.2/src/model.cpp:266:17: note: Technically the member function 'CVector3::dotproduct' can be const. gl-117-1.3.2/src/model.cpp:271:17: style:inconclusive: Technically the member function 'CVector3::length' can be const. [functionConst] gl-117-1.3.2/src/model.h:95:9: note: Technically the member function 'CVector3::length' can be const. gl-117-1.3.2/src/model.cpp:271:17: note: Technically the member function 'CVector3::length' can be const. gl-117-1.3.2/src/model.cpp:283:16: style:inconclusive: Technically the member function 'CVector3::isEqual' can be const. [functionConst] gl-117-1.3.2/src/model.h:97:8: note: Technically the member function 'CVector3::isEqual' can be const. gl-117-1.3.2/src/model.cpp:283:16: note: Technically the member function 'CVector3::isEqual' can be const. gl-117-1.3.2/src/model.cpp:288:16: style:inconclusive: Technically the member function 'CVector3::isEqual' can be const. [functionConst] gl-117-1.3.2/src/model.h:98:8: note: Technically the member function 'CVector3::isEqual' can be const. gl-117-1.3.2/src/model.cpp:288:16: note: Technically the member function 'CVector3::isEqual' can be const. gl-117-1.3.2/src/model.cpp:302:16: style:inconclusive: Technically the member function 'CVector2::isEqual' can be const. [functionConst] gl-117-1.3.2/src/model.h:108:8: note: Technically the member function 'CVector2::isEqual' can be const. gl-117-1.3.2/src/model.cpp:302:16: note: Technically the member function 'CVector2::isEqual' can be const. gl-117-1.3.2/src/model.cpp:307:16: style:inconclusive: Technically the member function 'CVector2::isEqual' can be const. [functionConst] gl-117-1.3.2/src/model.h:109:8: note: Technically the member function 'CVector2::isEqual' can be const. gl-117-1.3.2/src/model.cpp:307:16: note: Technically the member function 'CVector2::isEqual' can be const. gl-117-1.3.2/src/object.cpp:43:3: warning: Class 'CSpaceObj' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/model.cpp:413:18: style:inconclusive: Technically the member function 'CRotation::rotateX' can be const. [functionConst] gl-117-1.3.2/src/model.h:143:9: note: Technically the member function 'CRotation::rotateX' can be const. gl-117-1.3.2/src/model.cpp:413:18: note: Technically the member function 'CRotation::rotateX' can be const. gl-117-1.3.2/src/object.cpp:43:3: warning: Class 'CSpaceObj' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/model.cpp:418:18: style:inconclusive: Technically the member function 'CRotation::rotateY' can be const. [functionConst] gl-117-1.3.2/src/model.h:144:9: note: Technically the member function 'CRotation::rotateY' can be const. gl-117-1.3.2/src/model.cpp:418:18: note: Technically the member function 'CRotation::rotateY' can be const. gl-117-1.3.2/src/object.cpp:156:3: warning: Class 'Space' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/model.cpp:423:18: style:inconclusive: Technically the member function 'CRotation::rotateZ' can be const. [functionConst] gl-117-1.3.2/src/model.h:145:9: note: Technically the member function 'CRotation::rotateZ' can be const. gl-117-1.3.2/src/model.cpp:423:18: note: Technically the member function 'CRotation::rotateZ' can be const. gl-117-1.3.2/src/object.cpp:156:3: warning: Class 'Space' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/model.cpp:428:18: style:inconclusive: Technically the member function 'CRotation::getsintab' can be const. [functionConst] gl-117-1.3.2/src/model.h:146:9: note: Technically the member function 'CRotation::getsintab' can be const. gl-117-1.3.2/src/model.cpp:428:18: note: Technically the member function 'CRotation::getsintab' can be const. gl-117-1.3.2/src/model.cpp:434:18: style:inconclusive: Technically the member function 'CRotation::getcostabntab' can be const. [functionConst] gl-117-1.3.2/src/model.h:147:9: note: Technically the member function 'CRotation::getcostabntab' can be const. gl-117-1.3.2/src/model.cpp:434:18: note: Technically the member function 'CRotation::getcostabntab' can be const. gl-117-1.3.2/src/model.cpp:632:14: performance:inconclusive: Technically the member function 'CModel::drawVertexNormals' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/model.h:245:8: note: Technically the member function 'CModel::drawVertexNormals' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:632:14: note: Technically the member function 'CModel::drawVertexNormals' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:1332:14: performance:inconclusive: Technically the member function 'CSphere::random' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/model.h:264:7: note: Technically the member function 'CSphere::random' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:1332:14: note: Technically the member function 'CSphere::random' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:1561:19: performance:inconclusive: Technically the member function 'CSpherePart::setSouthPoleColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/model.h:292:8: note: Technically the member function 'CSpherePart::setSouthPoleColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:1561:19: note: Technically the member function 'CSpherePart::setSouthPoleColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:1565:19: performance:inconclusive: Technically the member function 'CSpherePart::setPoleColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/model.h:293:8: note: Technically the member function 'CSpherePart::setPoleColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:1565:19: note: Technically the member function 'CSpherePart::setPoleColor' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/model.cpp:98:28: warning: Class 'CTexture' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/model.cpp:98:28: warning: Class 'CTexture' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/model.cpp:561:3: warning: Class 'CModel' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/model.cpp:561:3: warning: Class 'CModel' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/object.cpp:52:7: style: The scope of the variable 'i' can be reduced. [variableScope] gl-117-1.3.2/src/object.cpp:100:7: style: The scope of the variable 'i' can be reduced. [variableScope] gl-117-1.3.2/src/object.cpp:82:38: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/object.cpp:175:38: style: Parameter 'o2' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/object.cpp:191:34: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:558:99: style: Variable 'light_diffuse[3]' is reassigned a value before the old one has been used. [redundantAssignment] gl-117-1.3.2/src/model.cpp:556:96: note: light_diffuse[3] is assigned gl-117-1.3.2/src/model.cpp:558:99: note: light_diffuse[3] is overwritten gl-117-1.3.2/src/model.cpp:884:10: style: The scope of the variable 'j' can be reduced. [variableScope] gl-117-1.3.2/src/model.cpp:1175:7: style: The scope of the variable 'i' can be reduced. [variableScope] gl-117-1.3.2/src/model.cpp:1175:10: style: The scope of the variable 'j' can be reduced. [variableScope] gl-117-1.3.2/src/model.cpp:709:20: style: Checking if unsigned expression 'numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/model.cpp:772:20: style: Checking if unsigned expression 'numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/model.cpp:889:20: style: Checking if unsigned expression 'numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/model.cpp:961:22: style: Checking if unsigned expression 'numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/model.cpp:1104:20: style: Checking if unsigned expression 'numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/model.cpp:1239:22: style: Checking if unsigned expression 'numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/model.cpp:45:25: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:62:32: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:77:31: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:82:28: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:228:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:243:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:248:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:258:40: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:266:39: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:283:35: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:288:35: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:295:32: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:302:35: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:307:35: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:313:32: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:330:36: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:413:37: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:418:37: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:423:37: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:440:34: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:502:8: style: Variable 'tmp' can be declared as const array [constVariable] gl-117-1.3.2/src/model.cpp:533:33: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:564:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:569:38: style: Parameter 'material' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:577:34: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:632:42: style: Parameter 'cm' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:822:28: style: Variable 'color' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:866:28: style: Variable 'pColor' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:882:31: style: Parameter 'tl' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:882:45: style: Parameter 'tl2' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:882:61: style: Parameter 'rot' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1001:28: style: Variable 'pColor' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:1033:28: style: Variable 'pColor' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:1052:31: style: Parameter 'tl' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1052:45: style: Parameter 'tl2' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1052:61: style: Parameter 'rot' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1125:24: style: Variable 'pColor' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:1152:24: style: Variable 'pColor' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:1173:31: style: Parameter 'tl' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1173:45: style: Parameter 'tl2' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1173:61: style: Parameter 'rot' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1270:28: style: Variable 'pColor' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:1302:28: style: Variable 'pColor' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/model.cpp:1561:46: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/model.cpp:1565:61: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/objload.cpp:132:11: warning: Member variable 'CLoadOBJ::file' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/objload.cpp:160:16: performance:inconclusive: Technically the member function 'CLoadOBJ::ComputeNormals' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/objload.h:61:8: note: Technically the member function 'CLoadOBJ::ComputeNormals' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/objload.cpp:160:16: note: Technically the member function 'CLoadOBJ::ComputeNormals' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/objload.cpp:136:16: performance:inconclusive: Technically the member function 'CLoadOBJ::ComputeColors' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/objload.h:62:8: note: Technically the member function 'CLoadOBJ::ComputeColors' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/objload.cpp:136:16: note: Technically the member function 'CLoadOBJ::ComputeColors' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/objload.cpp:205:16: performance:inconclusive: Technically the member function 'CLoadOBJ::Normalize' can be static (but you may consider moving to unnamed namespace). [functionStatic] gl-117-1.3.2/src/objload.h:63:8: note: Technically the member function 'CLoadOBJ::Normalize' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/objload.cpp:205:16: note: Technically the member function 'CLoadOBJ::Normalize' can be static (but you may consider moving to unnamed namespace). gl-117-1.3.2/src/objload.cpp:34:3: warning: Class 'CFile' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/objload.cpp:34:3: warning: Class 'CFile' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/objload.h:39:3: style: Class 'CFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gl-117-1.3.2/src/objload.cpp:33:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gl-117-1.3.2/src/objload.cpp:140:25: style: Checking if unsigned expression 'model->numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/objload.cpp:164:25: style: Checking if unsigned expression 'model->numObjects' is less than zero. [unsignedLessThanZero] gl-117-1.3.2/src/objload.cpp:31:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/objload.cpp:270:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/objload.cpp:316:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gl-117-1.3.2/src/objload.cpp:68:9: style: Variable 'p1' is not assigned a value. [unassignedVariable] gl-117-1.3.2/src/vertexarray.cpp:168:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_ARRAY [valueFlowBailoutIncompleteVar] gl-117-1.3.2/src/vertexarray.cpp:32:14: warning: Member variable 'VertexArray::type' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/vertexarray.cpp:41:14: warning: Member variable 'VertexArray::type' is not initialized in the constructor. [uninitMemberVar] gl-117-1.3.2/src/vertexarray.cpp:53:11: warning: Class 'VertexArray' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gl-117-1.3.2/src/vertexarray.cpp:53:11: warning: Class 'VertexArray' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gl-117-1.3.2/src/vertexarray.cpp:158:12: style: C-style pointer casting [cstyleCast] gl-117-1.3.2/src/vertexarray.cpp:76:39: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/vertexarray.cpp:121:38: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/vertexarray.cpp:126:38: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/vertexarray.cpp:138:41: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/pilots.cpp:33:42: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/pilots.cpp:273:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/pilots.cpp:289:29: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/pilots.cpp:317:29: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] gl-117-1.3.2/src/main.cpp:4762:19: error: Array 'heat[64][256]' accessed at index heat[*][256], which is out of bounds. [arrayIndexOutOfBounds] gl-117-1.3.2/src/main.cpp:4757:21: note: Assuming that condition 'i2