2022-06-30 20:54 ftp://ftp.de.debian.org/debian/pool/main/s/sdl-ball/sdl-ball_1.02.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.25 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 27578e9 (2022-06-30 13:50:31 +0200) count: 142 143 elapsed-time: 55.0 63.6 head-timing-info: Tokenizer::simplifyTokens1: 54.314s (avg. 4.52617s - 12 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 53.6901s (avg. 4.47417s - 12 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.376962s (avg. 0.0314135s - 12 result(s)) Condition::runChecks: 0.183395s (avg. 0.0152829s - 12 result(s)) UnusedVar::runChecks: 0.132452s (avg. 0.0110377s - 12 result(s)) Overall time: 109.149s old-timing-info: Tokenizer::simplifyTokens1: 62.7219s (avg. 5.22682s - 12 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 62.0093s (avg. 5.16744s - 12 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.451524s (avg. 0.037627s - 12 result(s)) Condition::runChecks: 0.340074s (avg. 0.0283395s - 12 result(s)) UnusedVar::runChecks: 0.12797s (avg. 0.0106642s - 12 result(s)) Overall time: 126.115s head results: sdl-ball-1.02/background.cpp:30:5: warning: Member variable 'backgroundClass::dir' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:89:3: warning: Member variable 'sparkle::life' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:89:3: warning: Member variable 'sparkle::lifeleft' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:89:3: warning: Member variable 'sparkle::vars' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:236:1: style: The class 'particleFieldClass' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] sdl-ball-1.02/effects.cpp:343:5: warning: Member variable 'effect_class::sparks' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:343:5: warning: Member variable 'effect_class::transit' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:343:5: warning: Member variable 'effect_class::pf' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:500:3: warning: Member variable 'effectManager::vars' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:661:5: warning: Member variable 'glAnnounceMessageClass::life' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:661:5: warning: Member variable 'glAnnounceMessageClass::font' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/effects.cpp:91:5: performance: Variable 'bounce' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/effects.cpp:92:5: performance: Variable 'f' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/effects.cpp:665:7: performance: Variable 'fade' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/effects.cpp:667:7: performance: Variable 'zoom' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/effects.cpp:367:16: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] sdl-ball-1.02/effects.cpp:364:14: note: i is assigned sdl-ball-1.02/effects.cpp:367:16: note: i is overwritten sdl-ball-1.02/effects.cpp:354:11: style: The scope of the variable 'life' can be reduced. [variableScope] sdl-ball-1.02/effects.cpp:457:11: style: The scope of the variable 'i' can be reduced. [variableScope] sdl-ball-1.02/effects.cpp:475:11: style: The scope of the variable 'i' can be reduced. [variableScope] sdl-ball-1.02/effects.cpp:252:68: style:inconclusive: Function 'init' argument 2 names different: declaration 'p' definition 'spawnPos'. [funcArgNamesDifferent] sdl-ball-1.02/effects.cpp:244:52: note: Function 'init' argument 2 names different: declaration 'p' definition 'spawnPos'. sdl-ball-1.02/effects.cpp:252:68: note: Function 'init' argument 2 names different: declaration 'p' definition 'spawnPos'. sdl-ball-1.02/effects.cpp:252:50: performance: Function parameter 'varsP' should be passed by const reference. [passedByValue] sdl-ball-1.02/effects.cpp:190:31: style: Parameter 'b' can be declared as reference to const [constParameter] sdl-ball-1.02/highscores.cpp:29:7: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/input.cpp:56:18: warning: Member variable 'controllerClass::accel' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/input.cpp:56:18: warning: Member variable 'controllerClass::joyBtnALock' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/input.cpp:56:18: warning: Member variable 'controllerClass::calMin' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/input.cpp:56:18: warning: Member variable 'controllerClass::calMax' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/input.cpp:56:18: warning: Member variable 'controllerClass::calLowJitter' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/input.cpp:56:18: warning: Member variable 'controllerClass::calHighJitter' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:206:9: error: Array 'type[12][4]' accessed at index type[12][0], which is out of bounds. [arrayIndexOutOfBounds] sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:207:9: error: Array 'type[12][4]' accessed at index type[12][1], which is out of bounds. [arrayIndexOutOfBounds] sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:208:9: error: Array 'type[12][4]' accessed at index type[12][2], which is out of bounds. [arrayIndexOutOfBounds] sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:260:38: error: Array 'type[12][4]' accessed at index 12, which is out of bounds. [arrayIndexOutOfBounds] sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:84:27: style: Parameter 'a' can be declared as const array [constParameter] sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:84:39: style: Parameter 'b' can be declared as const array [constParameter] sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:114:12: style: Variable 'run_mode' is assigned a value that is never used. [unreadVariable] sdl-ball-1.02/loadlevel.cpp:34:5: performance: Variable 'evilPowerups' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:375:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] sdl-ball-1.02/main.cpp:3265:24: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sdl-ball-1.02/main.cpp:4668:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sdl-ball-1.02/main.cpp:443:5: warning: Member variable 'textureClass::playing' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:443:5: warning: Member variable 'textureClass::prop' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/sound.cpp:25:1: style: The class 'soundClass' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] sdl-ball-1.02/menu.cpp:131:3: warning: Member variable 'menuClass::saveGameSlot' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/menu.cpp:131:3: warning: Member variable 'menuClass::themeChanged' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/scoreboard.cpp:31:3: warning: Member variable 'glScoreBoard::tempText' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:724:5: warning: Member variable 'paddle_class::layerTex' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:724:5: warning: Member variable 'object::active' is not initialized in the constructor. Maybe it should be initialized directly in the class object? [uninitDerivedMemberVar] sdl-ball-1.02/main.cpp:724:5: warning: Member variable 'object::collide' is not initialized in the constructor. Maybe it should be initialized directly in the class object? [uninitDerivedMemberVar] sdl-ball-1.02/main.cpp:724:5: warning: Member variable 'object::reflect' is not initialized in the constructor. Maybe it should be initialized directly in the class object? [uninitDerivedMemberVar] sdl-ball-1.02/main.cpp:1118:5: warning: Member variable 'object::active' is not initialized in the constructor. Maybe it should be initialized directly in the class object? [uninitDerivedMemberVar] sdl-ball-1.02/main.cpp:1118:5: warning: Member variable 'object::collide' is not initialized in the constructor. Maybe it should be initialized directly in the class object? [uninitDerivedMemberVar] sdl-ball-1.02/main.cpp:1118:5: warning: Member variable 'object::reflect' is not initialized in the constructor. Maybe it should be initialized directly in the class object? [uninitDerivedMemberVar] sdl-ball-1.02/main.cpp:1479:5: warning: Member variable 'tracer::color' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:1479:5: warning: Member variable 'tracer::tex' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:1546:3: warning: Member variable 'ball::shrinking' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:1546:3: warning: Member variable 'ball::explosive' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:2166:5: warning: Member variable 'powerupClass::score' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:2166:5: warning: Member variable 'powerupClass::type' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:2166:5: warning: Member variable 'powerupClass::level' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:2166:5: warning: Member variable 'powerupClass::maxlevel' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:2469:5: warning: Member variable 'powerupManager::tex' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:3202:3: warning: Member variable 'hudClass::nixTime' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:3202:3: warning: Member variable 'hudClass::timeStruct' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:3202:3: warning: Member variable 'hudClass::clockString' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:3202:3: warning: Member variable 'hudClass::shopItemBlocked' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/title.cpp:28:26: warning: Member variable 'powerupDescriptionClass::tex' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/title.cpp:77:19: warning: Member variable 'titleScreenClass::rot' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/title.cpp:77:19: warning: Member variable 'titleScreenClass::rotDir' is not initialized in the constructor. [uninitMemberVar] sdl-ball-1.02/main.cpp:1119:7: performance: Variable 'xvel' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1120:7: performance: Variable 'yvel' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1482:7: performance: Variable 'lastX' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1483:7: performance: Variable 'lastY' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1484:7: performance: Variable 'cr' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1485:7: performance: Variable 'cg' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1486:7: performance: Variable 'cb' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1487:7: performance: Variable 'height' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1488:7: performance: Variable 'width' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:1548:5: performance: Variable 'growspeed' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/main.cpp:3205:5: performance: Variable 'texBall' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] sdl-ball-1.02/text.cpp:45:13: style:inconclusive: Technically the member function 'glTextClass::getHeight' can be const. [functionConst] sdl-ball-1.02/text.cpp:50:22: note: Technically the member function 'glTextClass::getHeight' can be const. sdl-ball-1.02/text.cpp:45:13: note: Technically the member function 'glTextClass::getHeight' can be const. sdl-ball-1.02/main.cpp:843:8: style:inconclusive: Technically the member function 'brick::n' can be const. [functionConst] sdl-ball-1.02/loadlevel.cpp:128:8: style:inconclusive: Technically the member function 'powerupLoaderClass::randomEvilPowerup' can be const. [functionConst] sdl-ball-1.02/main.cpp:1885:10: style:inconclusive: Technically the member function 'ballManager::getSpeed' can be const. [functionConst] sdl-ball-1.02/main.cpp:3416:10: performance:inconclusive: Technically the member function 'speedometerClass::draw' can be static (but you may consider moving to unnamed namespace). [functionStatic] sdl-ball-1.02/title.cpp:71:10: performance:inconclusive: Technically the member function 'titleScreenClass::readDescriptions' can be static (but you may consider moving to unnamed namespace). [functionStatic] sdl-ball-1.02/title.cpp:293:24: note: Technically the member function 'titleScreenClass::readDescriptions' can be static (but you may consider moving to unnamed namespace). sdl-ball-1.02/title.cpp:71:10: note: Technically the member function 'titleScreenClass::readDescriptions' can be static (but you may consider moving to unnamed namespace). sdl-ball-1.02/title.cpp:22:19: warning: The class 'powerupDescriptionClass' defines member variable with name 'tex' also defined in its parent class 'object'. [duplInheritedMember] sdl-ball-1.02/main.cpp:709:18: note: Parent variable 'object::tex' sdl-ball-1.02/title.cpp:22:19: note: Derived variable 'powerupDescriptionClass::tex' sdl-ball-1.02/main.cpp:1136:5: style: Class 'bulletsClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] sdl-ball-1.02/main.cpp:1867:5: style: Class 'ballManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] sdl-ball-1.02/main.cpp:367:16: style: Condition 'i==1' is always true [knownConditionTrueFalse] sdl-ball-1.02/main.cpp:364:9: note: Assuming that condition 'i==0' is not redundant sdl-ball-1.02/main.cpp:362:18: note: Assuming that condition 'i<2' is not redundant sdl-ball-1.02/main.cpp:367:16: note: Condition 'i==1' is always true sdl-ball-1.02/scoreboard.cpp:61:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sdl-ball-1.02/main.cpp:2466:7: warning: Possible leak in public function. The pointer 'tex' is not deallocated before it is allocated. [publicAllocationError] sdl-ball-1.02/main.cpp:2467:11: style: Variable 'tex' is reassigned a value before the old one has been used. [redundantAssignment] sdl-ball-1.02/main.cpp:2466:11: note: tex is assigned sdl-ball-1.02/main.cpp:2467:11: note: tex is overwritten sdl-ball-1.02/menu.cpp:911:27: warning: Redundant assignment of 'nl' to itself. [selfAssignment] sdl-ball-1.02/main.cpp:354:8: style: The scope of the variable 'pdir' can be reduced. [variableScope] sdl-ball-1.02/text.cpp:60:15: style: The scope of the variable 'set' can be reduced. [variableScope] sdl-ball-1.02/text.cpp:60:23: style: The scope of the variable 'tempName' can be reduced. [variableScope] sdl-ball-1.02/text.cpp:128:16: style: The scope of the variable 'c' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:453:9: style: The scope of the variable 'col' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:453:15: style: The scope of the variable 'row' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:488:10: style: The scope of the variable 'f' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:602:10: style: The scope of the variable 'rgba' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:604:17: style: The scope of the variable 'set' can be reduced. [variableScope] sdl-ball-1.02/sound.cpp:148:8: style: The scope of the variable 'same' can be reduced. [variableScope] sdl-ball-1.02/menu.cpp:30:7: style: The scope of the variable 'delim' can be reduced. [variableScope] sdl-ball-1.02/menu.cpp:273:9: style: The scope of the variable 'i' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:2956:7: style: The scope of the variable 'i' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:2958:7: style: The scope of the variable 'points' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:2960:8: style: The scope of the variable 'col' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:2961:8: style: The scope of the variable 'dirfound' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:3110:7: style: The scope of the variable 'i' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:3110:9: style: The scope of the variable 'points' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:3112:8: style: The scope of the variable 'col' can be reduced. [variableScope] sdl-ball-1.02/title.cpp:297:7: style: The scope of the variable 'p' can be reduced. [variableScope] sdl-ball-1.02/title.cpp:298:8: style: The scope of the variable 'flip' can be reduced. [variableScope] sdl-ball-1.02/main.cpp:3816:15: style: The scope of the variable 'set' can be reduced. [variableScope] sdl-ball-1.02/menu.cpp:913:15: style: Local variable 'i' shadows outer variable [shadowVariable] sdl-ball-1.02/menu.cpp:273:9: note: Shadowed declaration sdl-ball-1.02/menu.cpp:913:15: note: Shadow variable sdl-ball-1.02/menu.cpp:942:15: style: Local variable 'i' shadows outer variable [shadowVariable] sdl-ball-1.02/menu.cpp:273:9: note: Shadowed declaration sdl-ball-1.02/menu.cpp:942:15: note: Shadow variable sdl-ball-1.02/menu.cpp:997:15: style: Local variable 'i' shadows outer variable [shadowVariable] sdl-ball-1.02/menu.cpp:273:9: note: Shadowed declaration sdl-ball-1.02/menu.cpp:997:15: note: Shadow variable sdl-ball-1.02/menu.cpp:1192:11: style: Local variable 'i' shadows outer variable [shadowVariable] sdl-ball-1.02/menu.cpp:273:9: note: Shadowed declaration sdl-ball-1.02/menu.cpp:1192:11: note: Shadow variable sdl-ball-1.02/main.cpp:1825:11: style: Local variable 'rad' shadows outer variable [shadowVariable] sdl-ball-1.02/main.cpp:1529:11: note: Shadowed declaration sdl-ball-1.02/main.cpp:1825:11: note: Shadow variable sdl-ball-1.02/main.cpp:307:24: performance: Function parameter 'path' should be passed by const reference. [passedByValue] sdl-ball-1.02/main.cpp:307:37: performance: Function parameter 'theme' should be passed by const reference. [passedByValue] sdl-ball-1.02/text.cpp:125:37: performance: Function parameter 'TTFfontName' should be passed by const reference. [passedByValue] sdl-ball-1.02/main.cpp:600:28: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] sdl-ball-1.02/loadlevel.cpp:136:23: performance: Function parameter 'file' should be passed by const reference. [passedByValue] sdl-ball-1.02/effects.cpp:556:34: performance: Function parameter 'tex' should be passed by const reference. [passedByValue] sdl-ball-1.02/main.cpp:3202:25: performance: Function parameter 'texB' should be passed by const reference. [passedByValue] sdl-ball-1.02/main.cpp:3445:32: performance: Function parameter 'name' should be passed by const reference. [passedByValue] sdl-ball-1.02/main.cpp:1136:33: style: Parameter 'texBullet' can be declared as reference to const [constParameter] sdl-ball-1.02/main.cpp:1598:27: style: Parameter 'paddle' can be declared as reference to const [constParameter] sdl-ball-1.02/main.cpp:1461:46: style: Parameter 'c' can be declared as const array [constParameter] sdl-ball-1.02/main.cpp:1867:30: style: Parameter 'btex' can be declared as const array [constParameter] sdl-ball-1.02/title.cpp:135:51: style: Parameter 'maxFrameAge' can be declared as pointer to const [constParameter] sdl-ball-1.02/sound.cpp:96:8: warning: Uninitialized variable: p [uninitvar] sdl-ball-1.02/sound.cpp:89:13: note: Assuming condition is false sdl-ball-1.02/sound.cpp:96:8: note: Uninitialized variable: p sdl-ball-1.02/sound.cpp:97:16: error: Uninitialized variable: qt.num [uninitvar] sdl-ball-1.02/sound.cpp:97:16: error: Uninitialized struct member: qt.num [uninitStructMember] sdl-ball-1.02/main.cpp:453:12: style: Variable 'col' is assigned a value that is never used. [unreadVariable] sdl-ball-1.02/main.cpp:453:18: style: Variable 'row' is assigned a value that is never used. [unreadVariable] sdl-ball-1.02/main.cpp:2956:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] sdl-ball-1.02/main.cpp:3141:12: style: Variable 'col' is assigned a value that is never used. [unreadVariable] sdl-ball-1.02/sound.cpp:22:11: style: struct member 'sampleQueuedItem::num' is never used. [unusedStructMember] diff: head sdl-ball-1.02/effects.cpp:190:31: style: Parameter 'b' can be declared as reference to const [constParameter] 2.8 sdl-ball-1.02/effects.cpp:190:31: style: Parameter 'b' can be declared with const [constParameter] head sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:84:27: style: Parameter 'a' can be declared as const array [constParameter] 2.8 sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:84:27: style: Parameter 'a' can be declared with const [constParameter] head sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:84:39: style: Parameter 'b' can be declared as const array [constParameter] 2.8 sdl-ball-1.02/leveleditor/gimp-leveleditor/gimp-sdlball.c:84:39: style: Parameter 'b' can be declared with const [constParameter] head sdl-ball-1.02/main.cpp:1136:33: style: Parameter 'texBullet' can be declared as reference to const [constParameter] 2.8 sdl-ball-1.02/main.cpp:1136:33: style: Parameter 'texBullet' can be declared with const [constParameter] 2.8 sdl-ball-1.02/main.cpp:1136:5: warning: Member variable 'bulletsClass::active' is not initialized in the constructor. [uninitMemberVar] head sdl-ball-1.02/main.cpp:1461:46: style: Parameter 'c' can be declared as const array [constParameter] 2.8 sdl-ball-1.02/main.cpp:1461:46: style: Parameter 'c' can be declared with const [constParameter] head sdl-ball-1.02/main.cpp:1598:27: style: Parameter 'paddle' can be declared as reference to const [constParameter] 2.8 sdl-ball-1.02/main.cpp:1598:27: style: Parameter 'paddle' can be declared with const [constParameter] head sdl-ball-1.02/main.cpp:1867:30: style: Parameter 'btex' can be declared as const array [constParameter] 2.8 sdl-ball-1.02/main.cpp:1867:30: style: Parameter 'btex' can be declared with const [constParameter] 2.8 sdl-ball-1.02/sound.cpp:96:8: error: Uninitialized variable: p [uninitvar] sdl-ball-1.02/sound.cpp:89:13: note: Assuming condition is false sdl-ball-1.02/sound.cpp:96:8: note: Uninitialized variable: p head sdl-ball-1.02/sound.cpp:96:8: warning: Uninitialized variable: p [uninitvar] sdl-ball-1.02/sound.cpp:89:13: note: Assuming condition is false sdl-ball-1.02/sound.cpp:96:8: note: Uninitialized variable: p head sdl-ball-1.02/title.cpp:135:51: style: Parameter 'maxFrameAge' can be declared as pointer to const [constParameter] 2.8 sdl-ball-1.02/title.cpp:135:51: style: Parameter 'maxFrameAge' can be declared with const [constParameter] DONE